diff -Nru node-umd-3.0.3+ds/debian/changelog node-umd-3.0.3+ds/debian/changelog --- node-umd-3.0.3+ds/debian/changelog 2018-05-23 21:39:10.000000000 +0000 +++ node-umd-3.0.3+ds/debian/changelog 2021-01-12 12:34:08.000000000 +0000 @@ -1,3 +1,25 @@ +node-umd (3.0.3+ds-3) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * 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. + * Apply multi-arch hints. + + node-umd: Add Multi-Arch: foreign. + + [ Xavier Guimard ] + * Bump debhelper compatibility level to 13 + * Declare compliance with policy 4.5.1 + * Add "Rules-Requires-Root: no" + * Add debian/gbp.conf + * Replace deprecated no-uglify by uglifyjs (Closes: #979948) + * Use sh-sequence-nodejs auto test & install + + -- Xavier Guimard Tue, 12 Jan 2021 13:34:08 +0100 + node-umd (3.0.3+ds-2) unstable; urgency=medium * Fix CI diff -Nru node-umd-3.0.3+ds/debian/clean node-umd-3.0.3+ds/debian/clean --- node-umd-3.0.3+ds/debian/clean 2018-05-19 13:52:20.000000000 +0000 +++ node-umd-3.0.3+ds/debian/clean 2021-01-12 12:32:56.000000000 +0000 @@ -1,3 +1,3 @@ index.js template.min.js -examples/*/bundle.js \ No newline at end of file +examples/*/bundle.js diff -Nru node-umd-3.0.3+ds/debian/compat node-umd-3.0.3+ds/debian/compat --- node-umd-3.0.3+ds/debian/compat 2018-05-19 14:11:38.000000000 +0000 +++ node-umd-3.0.3+ds/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru node-umd-3.0.3+ds/debian/control node-umd-3.0.3+ds/debian/control --- node-umd-3.0.3+ds/debian/control 2018-05-19 14:16:59.000000000 +0000 +++ node-umd-3.0.3+ds/debian/control 2021-01-12 12:33:13.000000000 +0000 @@ -1,27 +1,26 @@ Source: node-umd -Section: javascript -Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Bastien Roucariès -Build-Depends: - debhelper (>= 11) - , dh-buildinfo - , dpkg-dev (>= 1.17.14) - , nodejs (>= 6) +Section: javascript +Testsuite: autopkgtest-pkg-nodejs +Priority: optional +Build-Depends: debhelper-compat (= 13) + , dh-sequence-nodejs , dos2unix - , node-uglify (>= 2) - , node-brfs (>= 1.3.0) , mocha (>= 4) -Standards-Version: 4.1.4 -Homepage: https://github.com/ForbesLindesay/umd -Vcs-Git: https://salsa.debian.org/js-team/node-umd.git + , node-brfs + , uglifyjs +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/js-team/node-umd +Vcs-Git: https://salsa.debian.org/js-team/node-umd.git +Homepage: https://github.com/ForbesLindesay/umd +Rules-Requires-Root: no Package: node-umd Architecture: all -Depends: - ${misc:Depends} - , nodejs (>= 4.7) +Multi-Arch: foreign +Depends: ${misc:Depends} + , nodejs Description: Universal Module Definition for use in automated build systems UMD (Universal Module Definition) is a common pattern used in javascript programming allowing one to write once a loader working in different diff -Nru node-umd-3.0.3+ds/debian/copyright node-umd-3.0.3+ds/debian/copyright --- node-umd-3.0.3+ds/debian/copyright 2018-05-19 14:16:51.000000000 +0000 +++ node-umd-3.0.3+ds/debian/copyright 2021-01-12 12:29:07.000000000 +0000 @@ -33,4 +33,3 @@ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff -Nru node-umd-3.0.3+ds/debian/gbp.conf node-umd-3.0.3+ds/debian/gbp.conf --- node-umd-3.0.3+ds/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ node-umd-3.0.3+ds/debian/gbp.conf 2021-01-12 12:25:01.000000000 +0000 @@ -0,0 +1,5 @@ +[DEFAULT] +pristine-tar = True + +[import-orig] +filter = [ '.gitignore', '.travis.yml', '.git*' ] diff -Nru node-umd-3.0.3+ds/debian/install node-umd-3.0.3+ds/debian/install --- node-umd-3.0.3+ds/debian/install 2018-05-19 13:52:20.000000000 +0000 +++ node-umd-3.0.3+ds/debian/install 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -index.js usr/lib/nodejs/umd/ -package.json usr/lib/nodejs/umd/ -bin usr/lib/nodejs/umd/ diff -Nru node-umd-3.0.3+ds/debian/links node-umd-3.0.3+ds/debian/links --- node-umd-3.0.3+ds/debian/links 2018-05-19 13:52:20.000000000 +0000 +++ node-umd-3.0.3+ds/debian/links 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/lib/nodejs/umd/bin/cli.js usr/bin/umd diff -Nru node-umd-3.0.3+ds/debian/manpages node-umd-3.0.3+ds/debian/manpages --- node-umd-3.0.3+ds/debian/manpages 2018-05-19 13:52:20.000000000 +0000 +++ node-umd-3.0.3+ds/debian/manpages 2021-01-12 12:29:07.000000000 +0000 @@ -1 +1 @@ -debian/umd.1 \ No newline at end of file +debian/umd.1 diff -Nru node-umd-3.0.3+ds/debian/nodejs/links node-umd-3.0.3+ds/debian/nodejs/links --- node-umd-3.0.3+ds/debian/nodejs/links 1970-01-01 00:00:00.000000000 +0000 +++ node-umd-3.0.3+ds/debian/nodejs/links 2021-01-12 12:30:45.000000000 +0000 @@ -0,0 +1 @@ +umd/bin/cli.js /usr/bin/umd diff -Nru node-umd-3.0.3+ds/debian/rules node-umd-3.0.3+ds/debian/rules --- node-umd-3.0.3+ds/debian/rules 2018-05-19 14:09:16.000000000 +0000 +++ node-umd-3.0.3+ds/debian/rules 2021-01-12 12:32:56.000000000 +0000 @@ -18,16 +18,6 @@ override_dh_auto_build: index.js template.min.js -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) - mocha -R spec test/*.js -else - @echo '**********************************************************' - @echo 'Skip test suite ' - @echo '**********************************************************' -endif - - examples/cjs/bundle.js: examples/cjs/index.js $(UMD) -c common-js-module < $< > $@ @@ -58,4 +48,4 @@ override_dh_fixperms: dh_fixperms - chmod +x debian/node-umd/usr/lib/nodejs/umd/bin/cli.js + chmod +x debian/node-umd/usr/share/nodejs/umd/bin/cli.js diff -Nru node-umd-3.0.3+ds/debian/salsa-ci.yml node-umd-3.0.3+ds/debian/salsa-ci.yml --- node-umd-3.0.3+ds/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-umd-3.0.3+ds/debian/salsa-ci.yml 2021-01-12 12:25:08.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru node-umd-3.0.3+ds/debian/tests/control node-umd-3.0.3+ds/debian/tests/control --- node-umd-3.0.3+ds/debian/tests/control 2018-05-23 21:37:18.000000000 +0000 +++ node-umd-3.0.3+ds/debian/tests/control 2021-01-12 12:33:28.000000000 +0000 @@ -1,8 +1,2 @@ -Tests: require -Depends: node-umd, nodejs (>= 6) - -Tests: runtestsuite -Depends: node-umd, mocha (>= 4) - Tests: runexamples -Depends: node-umd, nodejs (>=6) +Depends: @ diff -Nru node-umd-3.0.3+ds/debian/tests/pkg-js/test node-umd-3.0.3+ds/debian/tests/pkg-js/test --- node-umd-3.0.3+ds/debian/tests/pkg-js/test 1970-01-01 00:00:00.000000000 +0000 +++ node-umd-3.0.3+ds/debian/tests/pkg-js/test 2021-01-12 12:30:24.000000000 +0000 @@ -0,0 +1 @@ +mocha -R spec test/*.js diff -Nru node-umd-3.0.3+ds/debian/tests/require node-umd-3.0.3+ds/debian/tests/require --- node-umd-3.0.3+ds/debian/tests/require 2018-05-19 14:34:28.000000000 +0000 +++ node-umd-3.0.3+ds/debian/tests/require 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -node -e "require('umd');" diff -Nru node-umd-3.0.3+ds/debian/tests/runtestsuite node-umd-3.0.3+ds/debian/tests/runtestsuite --- node-umd-3.0.3+ds/debian/tests/runtestsuite 2018-05-19 13:52:20.000000000 +0000 +++ node-umd-3.0.3+ds/debian/tests/runtestsuite 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -#!/bin/sh -set -e -# notice the / at end in order to load this module -PACKAGE='umd' -SEDCMD="s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('$PACKAGE'),g" - -tmpdir=$(mktemp -d) -trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP - -cp -r test $tmpdir -find test -maxdepth 1 -name '*.js' -print0 | \ - xargs -0 -n1 \ - sh -c 'set -e; echo "TESTING: $3"; sed "$1" < "$3" > "$2/$3"' sedcmd "$SEDCMD" "$tmpdir" - -mocha -R spec "$tmpdir/test/" diff -Nru node-umd-3.0.3+ds/debian/upstream/metadata node-umd-3.0.3+ds/debian/upstream/metadata --- node-umd-3.0.3+ds/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ node-umd-3.0.3+ds/debian/upstream/metadata 2021-01-12 12:25:00.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/ForbesLindesay/umd/issues +Bug-Submit: https://github.com/ForbesLindesay/umd/issues/new +Repository: https://github.com/ForbesLindesay/umd.git +Repository-Browse: https://github.com/ForbesLindesay/umd