diff options
author | Pirate Praveen <praveen@debian.org> | 2020-12-16 12:39:41 +0100 |
---|---|---|
committer | Pirate Praveen <praveen@debian.org> | 2020-12-16 12:39:41 +0100 |
commit | ed2d69c4824d04f4bc2aa5987ecf08cfbff6c873 (patch) | |
tree | e94600ce37378ff4a19a4adac8660e9ba04aa124 |
Import node-d3-time_1.0.11-4.debian.tar.xz
[dgit import tarball node-d3-time 1.0.11-4 node-d3-time_1.0.11-4.debian.tar.xz]
-rw-r--r-- | changelog | 55 | ||||
-rw-r--r-- | clean | 1 | ||||
-rw-r--r-- | control | 31 | ||||
-rw-r--r-- | copyright | 38 | ||||
-rw-r--r-- | docs | 1 | ||||
-rw-r--r-- | patches/reproducible_build.diff | 15 | ||||
-rw-r--r-- | patches/series | 1 | ||||
-rwxr-xr-x | rules | 8 | ||||
-rw-r--r-- | source/format | 1 | ||||
-rw-r--r-- | tests/pkg-js/test | 1 | ||||
-rw-r--r-- | upstream/metadata | 4 | ||||
-rw-r--r-- | watch | 5 |
12 files changed, 161 insertions, 0 deletions
diff --git a/changelog b/changelog new file mode 100644 index 0000000..05428db --- /dev/null +++ b/changelog @@ -0,0 +1,55 @@ +node-d3-time (1.0.11-4) unstable; urgency=medium + + [ Debian Janitor ] + * Use secure copyright file specification URI. + * Bump debhelper from old 11 to 12. + * Set debhelper-compat version in Build-Depends. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + * Update standards version to 4.4.1, no changes needed. + * Apply multi-arch hints. + + node-d3-time: Add Multi-Arch: foreign. + + [ Pirate Praveen ] + * Use node-rollup-plugin-terser (now available in the archive) + * Bump Standards-Version to 4.5.1 (no changes needed) + * Use dh-sequence-nodejs auto install + * Enable nocheck build profile + + -- Pirate Praveen <praveen@debian.org> Wed, 16 Dec 2020 17:09:41 +0530 + +node-d3-time (1.0.11-3) unstable; urgency=medium + + * Reupload to unstable + * Make build reproducible + + -- Pirate Praveen <praveen@debian.org> Sun, 07 Jul 2019 11:19:11 +0530 + +node-d3-time (1.0.11-2) experimental; urgency=medium + + * Install ES module (src directory) + + -- Pirate Praveen <praveen@debian.org> Wed, 19 Jun 2019 15:21:23 +0530 + +node-d3-time (1.0.11-1) experimental; urgency=medium + + * New upstream version 1.0.11 + * Bump debhelper compatibility level to 11 + * Bump Standards-Version to 4.3.0 (no changes needed) + * Use salsa.debian.org in Vcs-* fields + * Switch to rollup from webpack for build (rollup is now in main) + * Switch to pkg-js-tools for tests + + -- Pirate Praveen <praveen@debian.org> Sat, 15 Jun 2019 12:22:34 +0530 + +node-d3-time (1.0.7-2) unstable; urgency=medium + + * Use webpack to build umd module like upstream + + -- Pirate Praveen <praveen@debian.org> Sat, 06 Jan 2018 15:17:10 +0530 + +node-d3-time (1.0.7-1) unstable; urgency=low + + * Initial release (Closes: #877617) + + -- Pirate Praveen <praveen@debian.org> Tue, 03 Oct 2017 19:26:49 +0530 @@ -0,0 +1 @@ +dist/* @@ -0,0 +1,31 @@ +Source: node-d3-time +Section: javascript +Priority: optional +Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Uploaders: Pirate Praveen <praveen@debian.org> +Build-Depends: + debhelper-compat (= 12) + , dh-sequence-nodejs + , nodejs + , node-tape <!nocheck> + , rollup + , node-rollup-plugin-terser +Standards-Version: 4.5.1 +Homepage: https://d3js.org/d3-time/ +Vcs-Git: https://salsa.debian.org/js-team/node-d3-time.git +Vcs-Browser: https://salsa.debian.org/js-team/node-d3-time +Testsuite: autopkgtest-pkg-nodejs + +Package: node-d3-time +Architecture: all +Depends: + ${misc:Depends} + , nodejs +Multi-Arch: foreign +Description: calculator for humanity’s peculiar conventions of time + The d3-time module does not implement its own calendaring system; it merely + implements a convenient API for calendar math on top of ECMAScript Date. This + module is used by D3’s time scales to generate sensible ticks, by D3’s time + format, and can also be used directly to do things like calendar layouts. + . + Node.js is an event-based server-side JavaScript engine. diff --git a/copyright b/copyright new file mode 100644 index 0000000..aba5f5e --- /dev/null +++ b/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: d3-time +Upstream-Contact: https://github.com/d3/d3-time/issues +Source: https://d3js.org/d3-time/ + +Files: * +Copyright: 2010-2016 Mike Bostock (http://bost.ocks.org/mike) +License: BSD-3-Clause + +Files: debian/* +Copyright: 2017 Pirate Praveen <praveen@debian.org> +License: BSD-3-Clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + @@ -0,0 +1 @@ +README.md diff --git a/patches/reproducible_build.diff b/patches/reproducible_build.diff new file mode 100644 index 0000000..2f690be --- /dev/null +++ b/patches/reproducible_build.diff @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <lamby@debian.org> +Last-Update: 2019-06-20 + +--- a/rollup.config.js ++++ b/rollup.config.js +@@ -10,7 +10,7 @@ + format: "umd", + indent: false, + extend: true, +- banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}`, ++ banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime())).getFullYear()} ${meta.author.name}`, + globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).filter(key => /^d3-/.test(key)).map(key => ({[key]: "d3"}))) + }, + plugins: [] diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..774a9a2 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +reproducible_build.diff @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +%: + dh $@ + +override_dh_auto_build: + rollup -c diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/pkg-js/test b/tests/pkg-js/test new file mode 100644 index 0000000..7d46834 --- /dev/null +++ b/tests/pkg-js/test @@ -0,0 +1 @@ +TZ=America/Los_Angeles tape 'test/**/*-test.js' && test/test-time-zones diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..794e900 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/d3/d3-time/issues +Bug-Submit: https://github.com/d3/d3-time/issues/new +Repository: https://github.com/d3/d3-time.git +Repository-Browse: https://github.com/d3/d3-time @@ -0,0 +1,5 @@ +version=3 +opts=\ +dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ +filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-d3-time-$1.tar.gz/ \ + https://github.com/d3/d3-time/tags .*/archive/v?([\d\.]+).tar.gz |