[Pkg-javascript-commits] [node-hash.js] 19/19: Fix depends

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 12:00:13 UTC 2017


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

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

commit 2e3fdb38ea1c8f4ff25ed85202f863dab605f689
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Aug 25 13:58:38 2017 +0200

    Fix depends
---
 debian/control       | 2 ++
 debian/rules         | 1 -
 debian/tests/control | 2 +-
 debian/tests/require | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 8703cb7..e42fa64 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  , dpkg-dev (>= 1.17.14)
  , nodejs (>= 4.7)
  , node-inherits (>= 2.0.1) <!nocheck>
+ , node-assert (>= 1.0) <!nocheck>
  , mocha (>= 1.18.4) <!nocheck>
 Standards-Version: 4.1.0
 Homepage: https://github.com/indutny/hash.js
@@ -21,6 +22,7 @@ Depends:
  ${misc:Depends}
  , nodejs (>= 4.7)
  , node-inherits (>= 2.0.1)
+ , node-assert (>= 1.0)
 Description: Hash functions that could be run by both browser and nodejs
  This module implements a few classical hash function that could be run
  in browser and in nodejs context.
diff --git a/debian/rules b/debian/rules
index 305d0d0..df5848d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,6 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	mocha --reporter=spec test/*.js
diff --git a/debian/tests/control b/debian/tests/control
index 59c8dde..74b8791 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
-Depends: node-hash.js
+Depends: node-hash.js, nodejs (>= 6)
 
 Tests: runtestsuite
 Depends: node-hash.js, mocha (>= 1.18.4)
diff --git a/debian/tests/require b/debian/tests/require
index 12e54e6..ed4f218 100644
--- a/debian/tests/require
+++ b/debian/tests/require
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-nodejs -e "require('hash.js');"
+node -e "require('hash.js');"

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



More information about the Pkg-javascript-commits mailing list