summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirate Praveen <praveen@debian.org>2020-12-14 19:58:03 +0100
committerPirate Praveen <praveen@debian.org>2020-12-14 19:58:03 +0100
commita6ad5d2cfe691ad993469c5f90c42b9e55029909 (patch)
tree56acb52b1ca37873b4220d5ee6ecd6dc7c088acd
parentdc9638c0f4584b9a51b86338eb191d71c34ed5ec (diff)
parent6e76df6a8ba323b1233352d0b0019ffea0e43374 (diff)
node-d3-collection (1.0.7-3) 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-collection: Add Multi-Arch: foreign. [ Pirate Praveen ] * Bump Standards-Version to 4.5.1 (no changes needed) * Use node-rollup-plugin-terser (now available in the archive) * Enable nocheck build profile * Use pkg-js-tools auto install [dgit import unpatched node-d3-collection 1.0.7-3]
-rw-r--r--debian/changelog57
-rw-r--r--debian/clean1
-rw-r--r--debian/control35
-rw-r--r--debian/copyright38
-rw-r--r--debian/docs1
-rw-r--r--debian/patches/reproducible_build.diff15
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/pkg-js/test1
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch5
12 files changed, 167 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7416cb0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,57 @@
+node-d3-collection (1.0.7-3) 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-collection: Add Multi-Arch: foreign.
+
+ [ Pirate Praveen ]
+ * Bump Standards-Version to 4.5.1 (no changes needed)
+ * Use node-rollup-plugin-terser (now available in the archive)
+ * Enable nocheck build profile
+ * Use pkg-js-tools auto install
+
+ -- Pirate Praveen <praveen@debian.org> Tue, 15 Dec 2020 00:28:03 +0530
+
+node-d3-collection (1.0.7-2) unstable; urgency=medium
+
+ * Reupload to unstable
+ * Make build reproducible
+ * Bump Standards-Version to 4.4.0 (no changes needed)
+
+ -- Pirate Praveen <praveen@debian.org> Mon, 08 Jul 2019 13:28:16 +0530
+
+node-d3-collection (1.0.7-1) experimental; urgency=medium
+
+ * New upstream version 1.0.7
+ * Drop dh-buildinfo dependency
+ * Bump Standards-Version to 4.3.0 (no changes needed)
+ * Use salsa.debian.org in Vcs-* fields
+ * use rollup.config.js, install ES module
+ * Use pkg-js-tools for tests
+
+ -- Pirate Praveen <praveen@debian.org> Tue, 18 Jun 2019 21:30:17 +0530
+
+node-d3-collection (1.0.4-3) unstable; urgency=medium
+
+ * Build using rollup (webpack was used before rollup was available in main)
+ * Bump debhelper compat to 11
+
+ -- Pirate Praveen <praveen@debian.org> Wed, 28 Feb 2018 21:43:12 +0530
+
+node-d3-collection (1.0.4-2) unstable; urgency=medium
+
+ * Use webpack to build umd module like upstream
+
+ -- Pirate Praveen <praveen@debian.org> Tue, 09 Jan 2018 23:04:14 +0530
+
+node-d3-collection (1.0.4-1) unstable; urgency=low
+
+ * Initial release (Closes: #877579)
+
+ -- Pirate Praveen <praveen@debian.org> Tue, 03 Oct 2017 12:21:57 +0530
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..a261f29
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+dist/*
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7eefc77
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: node-d3-collection
+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)
+ , nodejs
+ , pkg-js-tools
+ , node-tape <!nocheck>
+ , rollup
+ , node-rollup-plugin-terser
+ , node-d3-array <!nocheck>
+Standards-Version: 4.5.1
+Homepage: https://d3js.org/d3-collection/
+Vcs-Git: https://salsa.debian.org/js-team/node-d3-collection.git
+Vcs-Browser: https://salsa.debian.org/js-team/node-d3-collection
+Testsuite: autopkgtest-pkg-nodejs
+
+Package: node-d3-collection
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Multi-Arch: foreign
+Description: Handy data structures for elements keyed by string
+ A common data type in JavaScript is the *associative array*, or more simply
+ the *object*, which has a set of named properties. The standard mechanism for
+ iterating over the keys (or property names) in an associative array is the
+ for…in loop. However, note that the iteration order is undefined.
+ .
+ D3 provides several methods for converting associative arrays to standard
+ arrays with numeric indexes.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c8c68fb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: d3-collection
+Upstream-Contact: https://github.com/d3/d3-collection/issues
+Source: https://d3js.org/d3-collection/
+
+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.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/patches/reproducible_build.diff b/debian/patches/reproducible_build.diff
new file mode 100644
index 0000000..2f690be
--- /dev/null
+++ b/debian/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/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..774a9a2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible_build.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65b73e2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+ dh $@ --with nodejs
+
+override_dh_auto_build:
+ rollup -c
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/pkg-js/test b/debian/tests/pkg-js/test
new file mode 100644
index 0000000..305491f
--- /dev/null
+++ b/debian/tests/pkg-js/test
@@ -0,0 +1 @@
+tape 'test/**/*-test.js'
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..f8d8040
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/d3/d3-collection/issues
+Bug-Submit: https://github.com/d3/d3-collection/issues/new
+Repository: https://github.com/d3/d3-collection.git
+Repository-Browse: https://github.com/d3/d3-collection
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f63239f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-d3-collection-$1.tar.gz/ \
+ https://github.com/d3/d3-collection/tags .*/archive/v?([\d\.]+).tar.gz