[Pkg-javascript-commits] [node-string-decoder] 25/27: Fix debian package

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 11 15:12:32 UTC 2017


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

rouca pushed a commit to branch master
in repository node-string-decoder.

commit 6c66be3d237e1bf0d2531fe80d4029290028db19
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu May 11 16:57:40 2017 +0200

    Fix debian package
---
 debian/README.Debian | 10 ----------
 debian/changelog     |  8 ++++++++
 debian/compat        |  2 +-
 debian/control       | 13 ++++++++-----
 debian/copyright     |  3 +++
 debian/rules         | 10 +++++++---
 6 files changed, 27 insertions(+), 19 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index f348435..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,10 +0,0 @@
-I have disabled the test-string-decoder.js test, as this test now fails
-with the latest version of nodejs (4.1.2) in Debian unstable.
-
-Currently, node-string-decoder provides the version of string-decoder
-from v0.10.25 of node-core. So this failing test should not matter for
-reverse dependencies expecting this version of string-decoder.
-
-I have asked upstream (rvagg) when support of the new LTS nodejs (v4.1.2)
-will be provided in node-string-decoder, and raised an issue at:
-https://github.com/substack/string_decoder/issues/4
diff --git a/debian/changelog b/debian/changelog
index 5639eef..2718de9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+node-string-decoder (1.0.0-1) unstable; urgency=medium
+
+  * Reintroduce package (Closes: #860843), needed in
+    browser context.
+  * Add myself as uploader.
+
+ -- Bastien Roucariès <rouca at debian.org>  Thu, 11 May 2017 16:48:59 +0200
+
 node-string-decoder (0.10.25-1) unstable; urgency=low
 
   [ Bas Couwenberg ]
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 4cd2fd9..a2b9fa2 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,14 @@
 Source: node-string-decoder
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: Ross Gammon <rossgammon at mail.dk>
+Uploaders: Bastien Roucariès <rouca at debian.org>
 Section: web
 Priority: optional
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 10),
                dh-buildinfo,
-               nodejs,
-               node-tap
+               nodejs (>= 4.7),
+	       dpkg-dev (>= 1.17.14),
+	       node-buffer-shims (>= 1.0.0) <!nocheck>,
+               node-tap <!nocheck>
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-string-decoder.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-string-decoder.git
@@ -15,7 +17,8 @@ Homepage: https://github.com/rvagg/string_decoder
 Package: node-string-decoder
 Architecture: all
 Depends: ${misc:Depends},
-         nodejs
+         nodejs (>= 4.7),
+	 node-buffer-shims (>= 1.0.0)
 Description: string_decoder module from Node core for browsers
  node-string-decoder provides the string_decoder module from Node.js core for
  browsers.
diff --git a/debian/copyright b/debian/copyright
index 9cd368e..ad07597 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,10 +5,13 @@ Source: https://github.com/rvagg/string_decoder
 
 Files: *
 Copyright: Joyent, Inc. and other Node contributors
+           Node.js contributors. All rights reserved.
 License: Expat
 
 Files: debian/*
 Copyright: 2015, Bas Couwenberg <sebastic at debian.org>
+           2015-2016 Ross Garamont
+	   2017 Bastien Roucariès
 License: Expat
 
 License: Expat
diff --git a/debian/rules b/debian/rules
index 235401f..c5bc379 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@
 	dh $@
 
 override_dh_auto_test:
-	# test-string-decoder.js disabled - not working with nodejs 4.1.2
-	tap test/simple/test-string-decoder-end.js
-
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	nodejs test/parallel/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif

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



More information about the Pkg-javascript-commits mailing list