[Pkg-javascript-commits] [node-browserify-zlib] 50/50: New upstream version

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 13:09:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browserify-zlib.

commit 2ab0176060ffd25fd8d156b4c8a6e448be7409ba
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Dec 15 13:04:43 2017 +0100

    New upstream version
---
 debian/TODO               |  1 -
 debian/changelog          |  6 ++++++
 debian/clean              |  2 ++
 debian/control            |  7 +++++--
 debian/copyright          |  5 +----
 debian/install            |  2 +-
 debian/rules              | 14 ++++++++++++--
 debian/tests/control      |  6 +++---
 debian/tests/require      |  2 +-
 debian/tests/runtestsuite | 10 ++++++----
 debian/watch              |  2 +-
 11 files changed, 38 insertions(+), 19 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index 92f0e99..67b0f66 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,2 +1 @@
-+ this project was forked under browserify-zlib-next that is better maint but depends is huge and need babel
 + imagemagick is a little bit too strong
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index fa392a1..a26a570 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-browserify-zlib (0.2.0+20170820git8b3f0a862f6b+dfsg-1) unstable; urgency=medium
+
+  * New upstream version
+
+ -- Bastien Roucariès <rouca at debian.org>  Fri, 15 Dec 2017 12:40:48 +0100
+
 node-browserify-zlib (0.1.4+20151015git49bcb7551a1+dfsg-1) unstable; urgency=low
 
   * Initial release (Closes: #860205)
diff --git a/debian/clean b/debian/clean
index fc6fbfb..6a41058 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,3 @@
 test/fixtures/person.jpg
+test/fixtures/person.jpg.gz
+
diff --git a/debian/control b/debian/control
index 9067e40..4c164d5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
 Source: node-browserify-zlib
-Section: web
+Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Bastien Roucariès <rouca at debian.org>
@@ -9,9 +9,12 @@ Build-Depends:
  , nodejs (>= 4.7)
  , dpkg-dev (>= 1.17.14)
  , node-tape <!nocheck>
+ , node-tap (>=8) <!nocheck>
  , node-pako (>= 0.2.0) <!nocheck>
  , imagemagick-6.q16  <!nocheck> | imagemagick <!nocheck>
-Standards-Version: 3.9.8
+ , node-babel-cli
+ , node-babel-preset-es2015
+Standards-Version: 4.1.2
 Homepage: https://github.com/devongovett/browserify-zlib
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browserify-zlib.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-browserify-zlib.git
diff --git a/debian/copyright b/debian/copyright
index 9ab25de..722b4e9 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -15,6 +15,7 @@ License: Expat
 
 Files: src/index.js test/*
 Copyright: Joyent, Inc. and other Node contributors.
+ 2017 Devon Govett <devongovett at gmail.com>
 License: Expat
 Comment: from nodejs source
 
@@ -22,10 +23,6 @@ Files: test/fixtures/*
 Copyright: 2017 Devon Govett <devongovett at gmail.com>
 License: Expat
 
-Files: test/ignored/test-zlib-params.js
-Copyright: 2017 Devon Govett <devongovett at gmail.com>
-License: Expat
-
 License: Expat
  Permission is hereby granted, free of charge, to any person
  obtaining a copy of this software and associated documentation files
diff --git a/debian/install b/debian/install
index d34b4e2..3fe03eb 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,2 @@
 package.json usr/lib/nodejs/browserify-zlib/
-src          usr/lib/nodejs/browserify-zlib/
+lib          usr/lib/nodejs/browserify-zlib/
diff --git a/debian/rules b/debian/rules
index 81b0df6..a8120b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,17 +4,27 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+BABEL?=babeljs
+
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_build:
+	$(BABEL) src/ --out-dir lib
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	convert rose: test/fixtures/person.jpg
-	tape test/*.js
+	gzip -9 -n < test/fixtures/person.jpg > test/fixtures/person.jpg.gz
+	tap -R spec test/test-*.js
 else
 	@echo '**********************************************************'
 	@echo 'Skip test suite                                           '
 	@echo '**********************************************************'
 endif
+
+override_dh_clean:
+	dh_clean
+	rm -rf lib
+	rm -rf test/tmp
+
diff --git a/debian/tests/control b/debian/tests/control
index 9d42580..9c52ad7 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,6 @@
 Tests: require
-Depends: node-browserify-zlib
+Depends: node-browserify-zlib, nodejs (>=6)
 
 Tests: runtestsuite
-Depends: node-browserify-zlib, imagemagick, node-tape
-
+Depends: node-browserify-zlib, imagemagick, node-tape, node-tap (>= 8)
+Restrictions: allow-stderr
diff --git a/debian/tests/require b/debian/tests/require
index 2fa3b1e..b897dc4 100644
--- a/debian/tests/require
+++ b/debian/tests/require
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-nodejs -e "require('browserify-zlib');"
+node -e "require('browserify-zlib');"
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index 07a5329..bdaff10 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -7,9 +7,11 @@ SEDCMD="s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('$PACKAGE'),g"
 tmpdir=$(mktemp -d)
 trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP
 
-cp -r test $tmpdir/test
-convert rose: $tmpdir/test/fixtures/person.jpg
+cp -r test "$tmpdir/test"
 find test/ -maxdepth 1 -name '*.js' -print0 | \
     xargs -0 -n1  \
-	  sh -c 'set -e; echo "TESTING: $3"; sed $1 < $3 > $2/$3; tape "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
-tape $tmpdir/test/*.js
+	  sh -c 'set -e; echo "TESTING: $3"; sed "$1" < "$3" > "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
+cd "$tmpdir"
+convert rose: test/fixtures/person.jpg
+gzip -9 -n < test/fixtures/person.jpg > test/fixtures/person.jpg.gz
+tap -R spec test/test-*.js
diff --git a/debian/watch b/debian/watch
index 3390573..7c74341 100644
--- a/debian/watch
+++ b/debian/watch
@@ -6,4 +6,4 @@ version=4
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
 filenamemangle=s/.*=// \
- http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/browserify-zlib .*=browserify-zlib-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
+ https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/browserify-zlib .*=browserify-zlib-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-zlib.git



More information about the Pkg-javascript-commits mailing list