diff -Nru node-read-only-stream-2.0.0/debian/changelog node-read-only-stream-2.0.0/debian/changelog --- node-read-only-stream-2.0.0/debian/changelog 2017-08-11 20:59:28.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/changelog 2018-06-03 20:06:27.000000000 +0000 @@ -1,3 +1,11 @@ +node-read-only-stream (2.0.0-2) unstable; urgency=medium + + * Move to salsa + * Bump policy and compat (no changes) + * Move to section javascript + + -- Bastien Roucariès Sun, 03 Jun 2018 22:06:27 +0200 + node-read-only-stream (2.0.0-1) unstable; urgency=low * Initial release (Closes: #864689) diff -Nru node-read-only-stream-2.0.0/debian/compat node-read-only-stream-2.0.0/debian/compat --- node-read-only-stream-2.0.0/debian/compat 2017-08-11 20:45:43.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/compat 2018-06-03 20:06:27.000000000 +0000 @@ -1 +1 @@ -10 +11 diff -Nru node-read-only-stream-2.0.0/debian/control node-read-only-stream-2.0.0/debian/control --- node-read-only-stream-2.0.0/debian/control 2017-08-11 20:59:28.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/control 2018-06-03 20:06:27.000000000 +0000 @@ -1,10 +1,10 @@ Source: node-read-only-stream -Section: web +Section: javascript Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Bastien Roucariès Build-Depends: - debhelper (>= 10) + debhelper (>= 11) , dh-buildinfo , nodejs (>= 2.0.2) , dpkg-dev (>= 1.17.14) @@ -12,11 +12,12 @@ , node-through (>= 2.3.4) , node-concat-stream (>= 1.6.0) , node-tape (>=4.2.0) + , node-tap (>= 10) , node-readable-stream (>=2.0.2) -Standards-Version: 4.0.1 +Standards-Version: 4.1.4 Homepage: https://github.com/substack/read-only-stream -Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-read-only-stream.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-read-only-stream.git +Vcs-Git: https://salsa.debian.org/js-team/node-read-only-stream.git +Vcs-Browser: https://salsa.debian.org/js-team/node-read-only-stream Package: node-read-only-stream Architecture: all diff -Nru node-read-only-stream-2.0.0/debian/copyright node-read-only-stream-2.0.0/debian/copyright --- node-read-only-stream-2.0.0/debian/copyright 2017-08-11 20:47:47.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/copyright 2018-06-03 20:06:27.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: read-only-stream Upstream-Contact: https://github.com/substack/read-only-stream/issues Source: https://github.com/substack/read-only-stream diff -Nru node-read-only-stream-2.0.0/debian/rules node-read-only-stream-2.0.0/debian/rules --- node-read-only-stream-2.0.0/debian/rules 2017-08-11 20:59:28.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/rules 2018-06-03 20:06:27.000000000 +0000 @@ -8,8 +8,8 @@ dh $@ override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - tape test/*.js +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) + tap -R spec test/*.js else @echo '**********************************************************' @echo 'Skip test suite ' @@ -17,7 +17,13 @@ endif override_dh_installexamples: +ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) dh_installexamples - # patch example + # patch example find $(CURDIR)/debian/node-read-only-stream/usr/share/doc/node-read-only-stream/examples/ -name '*.js' -exec \ sed -i "s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('read-only-stream'),g" {} \; +else + @echo '**********************************************************' + @echo 'Skip doc ' + @echo '**********************************************************' +endif diff -Nru node-read-only-stream-2.0.0/debian/tests/control node-read-only-stream-2.0.0/debian/tests/control --- node-read-only-stream-2.0.0/debian/tests/control 2017-08-11 20:59:28.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/tests/control 2018-06-03 20:06:27.000000000 +0000 @@ -1,5 +1,5 @@ Tests: require -Depends: node-read-only-stream +Depends: node-read-only-stream, nodejs (>= 6) Tests: runtestsuite Depends: node-read-only-stream @@ -7,5 +7,6 @@ , node-through (>= 2.3.4) , node-concat-stream (>= 1.6.0) , node-tape (>=4.2.0) + , node-tap (>= 10) diff -Nru node-read-only-stream-2.0.0/debian/tests/runtestsuite node-read-only-stream-2.0.0/debian/tests/runtestsuite --- node-read-only-stream-2.0.0/debian/tests/runtestsuite 2017-08-11 20:59:28.000000000 +0000 +++ node-read-only-stream-2.0.0/debian/tests/runtestsuite 2018-06-03 20:06:27.000000000 +0000 @@ -12,5 +12,5 @@ xargs -0 -n1 \ sh -c 'set -e; echo "TESTING: $3"; sed "$1" < "$3" > "$2/$3"' sedcmd "$SEDCMD" "$tmpdir" -# this test write to stderr redirect to stdout -tape "$tmpdir/test/*.js" \ No newline at end of file +cd $tmpdir +tap -R spec "test/*.js" \ No newline at end of file