[Pkg-javascript-commits] [node-randombytes] 03/03: New upstream version

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 13:54:24 UTC 2017


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

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

commit ec2657ae3a39155c25a5c1a854b74f12a6afc049
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Nov 30 16:16:31 2017 +0100

    New upstream version
---
 debian/changelog     |  7 +++++++
 debian/compat        |  2 +-
 debian/control       | 14 +++++++++-----
 debian/copyright     |  3 ++-
 debian/rules         | 13 ++++++++-----
 debian/tests/control |  2 +-
 debian/tests/require |  2 +-
 7 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 590a048..a0f9b5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-randombytes (2.0.5-1) unstable; urgency=medium
+
+  * Team upload
+  * Improve debian packaging
+
+ -- Bastien Roucariès <rouca at debian.org>  Thu, 30 Nov 2017 16:11:10 +0100
+
 node-randombytes (2.0.3-1) unstable; urgency=low
 
   * Initial release (Closes: #841673)
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 e6fedc8..8bb8906 100644
--- a/debian/control
+++ b/debian/control
@@ -1,13 +1,16 @@
 Source: node-randombytes
-Section: web
+Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: Sarath M S <debian at sarathms.me>
+Uploaders: Sarath Madayil <debian at sarathms.me>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
-Standards-Version: 3.9.8
+ , nodejs (>= 6) <!nocheck>
+ , node-safe-buffer (>=5.1.0) <!nocheck>
+ , node-tape (>= 4.6) <!nocheck>
+ , node-tap (>= 10) <!nocheck>
+Standards-Version: 4.1.1
 Homepage: https://github.com/crypto-browserify/randombytes
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-randombytes.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-randombytes.git
@@ -17,6 +20,7 @@ Architecture: all
 Depends:
  ${misc:Depends}
  , nodejs
+ , node-safe-buffer (>=5.1.0)
 Description: random bytes from browserify stand alone
  randomBytes for the browser. Uses crypto/msCrypto.getRandomValues() in
  the browser. In Node.js, it uses crypto.randomBytes().
diff --git a/debian/copyright b/debian/copyright
index 6d461d3..79f5de1 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -8,7 +8,8 @@ Copyright: 2016 Calvin Metcalf <cmetcalf at appgeo.com>
 License: Expat
 
 Files: debian/*
-Copyright: 2016 Sarath M S <debian at sarathms.me>
+Copyright: 2016 Sarath Madayil <debian at sarathms.me>
+ 2017 Bastien Roucariès <rouca at debian.org>
 License: Expat
 
 License: Expat
diff --git a/debian/rules b/debian/rules
index de57af0..37bd6e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,12 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	tap -R spec test.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
diff --git a/debian/tests/control b/debian/tests/control
index d9e7600..177bdcf 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
 Tests: require
-Depends: node-randombytes
+Depends: node-randombytes, nodejs (>=6)
diff --git a/debian/tests/require b/debian/tests/require
index 9019e9f..e53d133 100644
--- a/debian/tests/require
+++ b/debian/tests/require
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-nodejs -e "require('randombytes');"
+node -e "require('randombytes');"

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



More information about the Pkg-javascript-commits mailing list