[Pkg-javascript-commits] [node-browserify-aes] 90/92: Fix debian package

Bastien Roucariès rouca at moszumanska.debian.org
Sun Jun 4 09:35:22 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-aes.

commit e908fedb98bc13595b018d50f01e234230a08776
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sat May 27 15:26:24 2017 +0200

    Fix debian package
---
 debian/control | 10 ++++++++--
 debian/rules   | 13 ++++++++-----
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 7810be8..2a29563 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,13 @@ Uploaders: FIX_ME debian author
 Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , nodejs (>= 4.1)
+ , node-create-hash (>= 1.1.0) <!nocheck>
+ , node-evp-bytestokey (>= 1.0.0) <!nocheck>
+ , node-cipher-base (>= 1.0.0) <!nocheck>
+ , node-inherits (>= 2.0.1) <!nocheck>
+ , node-buffer-xor (>= 1.0.2) <!nocheck>
+ , node-tape (>=4.6) <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/crypto-browserify/browserify-aes
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browserify-aes.git
@@ -16,7 +22,7 @@ Package: node-browserify-aes
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 4.1)
  , node-create-hash (>= 1.1.0)
  , node-evp-bytestokey (>= 1.0.0)
  , node-cipher-base (>= 1.0.0)
diff --git a/debian/rules b/debian/rules
index de57af0..d2ef4f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,11 @@
 	dh $@
 
 #override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	nodejs test/index.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-browserify-aes.git



More information about the Pkg-javascript-commits mailing list