[Pkg-javascript-commits] [node-acorn-jsx] 482/484: Improve debianization

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:21: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-acorn-jsx.

commit 7fd603a188fcb2d40bf8cd7751784f9299533e02
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Aug 18 21:43:51 2017 +0200

    Improve debianization
---
 debian/changelog |  9 +++------
 debian/control   | 15 ++++++++++-----
 debian/rules     | 11 +++++++++--
 3 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 867106f..ccb5898 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,5 @@
-node-acorn-jsx (4.0.1-1) UNRELEASED; urgency=low
+node-acorn-jsx (4.0.1-1) unstable; urgency=low
 
-  [ Bastien Roucariès <rouca at debian.org>  Sat, 08 Apr 2017 00:06:12 +0200 ]
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #859859)
 
-  [ bastien ]
-
- -- bastien <bastien at portable2015-bastien.roucariès.eu>  Sat, 08 Apr 2017 00:06:20 +0200
+ -- Bastien Roucariès <rouca at debian.org>  Fri, 18 Aug 2017 21:42:55 +0200
diff --git a/debian/control b/debian/control
index 14e21dc..da0ea8d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,10 @@ Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
- , nodejs (>= 4.7)
-Standards-Version: 3.9.8
+ , nodejs (>= 6)
+ , dpkg-dev (>= 1.17.14)
+ , node-acorn (>= 5.0.3) <!nocheck>
+Standards-Version: 4.0.1
 Homepage: https://github.com/RReverser/acorn-jsx
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/node-acorn-jsx.git
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/node-acorn-jsx.git
@@ -17,8 +19,11 @@ Architecture: all
 Depends:
  ${misc:Depends}
  , nodejs (>= 4.7)
- , acorn (>= 3.0.4)
-Description: Alternative, faster React.js JSX parser
- FIX_ME long description
+ , node-acorn (>= 5.0.3)
+Description: node-acorn-jsx
+ This pure javascript module based on node-acorn parses JSX file.
+ .
+ JSX, a JavaScript extension syntax allowing quoting of HTML
+ and using HTML tag syntax to render subcomponents.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/rules b/debian/rules
index de57af0..d4d6d54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,16 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
+	nodejs test/run.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
+
 
-#override_dh_auto_test:
 
 
 

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



More information about the Pkg-javascript-commits mailing list