[Pkg-javascript-devel] Packaging node-timezone

Paolo Greppi paolo.greppi at libpf.com
Sun Nov 10 18:26:27 GMT 2019


Hi Diane, see low and lower

Paolo

On 10/11/19 06:50, Diane Trout wrote:
> Hi,
> 
> In a renewed effort to try and package bokeh for Debian several
> JavaScript dependencies should probably be packaged, and I'm fairly new
> at dealing with JavaScript packaging.
> 
> I started with timezone. https://bigeasy.github.io/timezone/
> 
> I posted my git history here:
> https://salsa.debian.org/diane/node-timezone
> And I posted a mentors release here:
> https://mentors.debian.net/debian/pool/main/n/node-timezone/node-timezone_1.0.22+~2018i-1.dsc
> 
> I turned upstream's examples into a test harness and it seems like
> there's an upstream bug.
> https://github.com/bigeasy/timezone/issues/320

I see that's now solved !

> ITP bug.
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944398
> 
> It embeds a copy of the olsen timezone database, as I couldn't figure
> out a good way of reusing the one shipped by Debian.
> I included the tzdata as a multi-source archive (Which is why I also
> posted it to mentors, as I hadn't done that before)
> 
> Would anyone have time to double check the package to see if it's
> reasonable?
> 
> Thanks,
> Diane

When I look at where debian's tzdata package pulls upstream tarball:
https://salsa.debian.org/glibc-team/tzdata/blob/sid/debian/watch
it's: ftp://ftp.iana.org/tz/releases/tzdb-2019c.tar.lz
this contains flat files for each continent.
It seems the d/rules unpacks in into all the Uppercased Dirs and Files in /usr/share/zoneinfo

What https://data.iana.org/time-zones/tz-link.html calls their "development repository" is eggert/tz which also has the flat files.

This means that the files you need are in the source of tzdata package.
If node-timezone only needs that at build time, I wonder if you could build-depend on the source of tzdata ?

Paolo





More information about the Pkg-javascript-devel mailing list