[Pkg-javascript-commits] [node-test] 01/01: New debian revision: * Team upload * Really install all .js files including test dir. Needed by retape. * Run testsuite. * Bump compat

Bastien Roucariès rouca at moszumanska.debian.org
Sat Apr 8 15:27:31 UTC 2017


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

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

commit aaba9e8ce14e64daca2aa91c0a6a9220590c37b5
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sat Apr 8 00:33:35 2017 +0200

    New debian revision:
      * Team upload
      * Really install all .js files including test dir.
        Needed by retape.
      * Run testsuite.
      * Bump compat
---
 debian/changelog                   | 10 ++++++++++
 debian/compat                      |  2 +-
 debian/control                     | 13 +++++++++----
 debian/install                     |  1 +
 debian/node-test.lintian-overrides |  2 ++
 debian/rules                       |  9 ++++++++-
 debian/watch                       |  2 +-
 7 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 97a3e9f..a4bdbe2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+node-test (0.6.0-3) unstable; urgency=medium
+
+  * Team upload
+  * Really install all .js files including test dir.
+    Needed by retape. (Closes: #859865)
+  * Run testsuite.
+  * Bump compat
+
+ -- Bastien Roucariès <rouca at debian.org>  Sat, 08 Apr 2017 00:31:47 +0200
+
 node-test (0.6.0-2) unstable; urgency=medium
 
   * Team upload
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 c5eef83..42dd030 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,11 @@ Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Sruthi Chandran <srud at disroot.org>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , dpkg-dev (>= 1.17.14)
+ , nodejs (>= 4.7)
+ , node-ansi-font (>= 0.0.2) <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/Gozala/test-commonjs/
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-test.git
@@ -16,9 +18,12 @@ Package: node-test
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 4.7)
  , node-ansi-font (>= 0.0.2)
 Description: (Un)CommonJS test runner
- Implementation of (Un)commonJS unit test runner
+ Implementation of (Un)commonJS unit test runner.
+ .
+ This module allow one to create test suite that could be
+ run using npm test command.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/install b/debian/install
index e53a21d..1dd4217 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
 package.json usr/lib/nodejs/test/
 *.js usr/lib/nodejs/test/
+test/* usr/lib/nodejs/test/test
\ No newline at end of file
diff --git a/debian/node-test.lintian-overrides b/debian/node-test.lintian-overrides
new file mode 100644
index 0000000..9893a0b
--- /dev/null
+++ b/debian/node-test.lintian-overrides
@@ -0,0 +1,2 @@
+# this is not the libjs-async module...
+node-test: embedded-javascript-library usr/lib/nodejs/test/test/async.js please use libjs-async
diff --git a/debian/rules b/debian/rules
index b77c631..faa35dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,14 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	nodejs test/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
 
 #override_dh_auto_test:
 
diff --git a/debian/watch b/debian/watch
index dc6423d..6cbf235 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
-version=3
+version=4
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
 filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-test-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list