[Pkg-javascript-commits] [node-astw] 27/30: Improve debianiation

Bastien Roucariès rouca at moszumanska.debian.org
Tue Sep 26 12:55:05 UTC 2017


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

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

commit 84b8773eff18766c615d0bcb363d024ac875a44e
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Tue Aug 29 00:06:05 2017 +0200

    Improve debianiation
---
 debian/compat  |  2 +-
 debian/control | 15 +++++++++------
 debian/rules   | 12 ++++++++----
 3 files changed, 18 insertions(+), 11 deletions(-)

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 eff6f01..5815705 100644
--- a/debian/control
+++ b/debian/control
@@ -1,13 +1,16 @@
 Source: node-astw
-Section: web
+Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
-Standards-Version: 3.9.8
+ , nodejs (>= 6)
+ , dpkg-dev (>= 1.17.14)
+ , node-acorn (>= 4.0.3) <!nocheck>
+ , node-tape (>= 2.4.1) <!nocheck>
+Standards-Version: 4.1.0
 Homepage: https://github.com/substack/astw
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-astw.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-astw.git
@@ -16,8 +19,8 @@ Package: node-astw
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
- , acorn (>= 4.0.3)
+ , nodejs (>= 6)
+ , node-acorn (>= 4.0.3)
 Description: walk the ast with references to parent nodes
  FIX_ME long description
  .
diff --git a/debian/rules b/debian/rules
index de57af0..408c549 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,11 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
+	node test/*.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-astw.git



More information about the Pkg-javascript-commits mailing list