[Pkg-javascript-commits] [node-browser-pack] 04/07: Finalize

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 12:25:00 UTC 2017


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

rouca pushed a commit to tag debian-6.0.2+ds-1
in repository node-browser-pack.

commit 945bbe2a7e29a322cee158308a17130b379e02db
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Sep 8 17:12:40 2017 +0200

    Finalize
---
 debian/changelog |  2 +-
 debian/control   |  6 +++---
 debian/install   |  4 ++--
 debian/rules     | 11 ++++++++---
 4 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 67daef1..76dbe2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-node-browser-pack (6.0.2~-1) UNRELEASED; urgency=low
+node-browser-pack (6.0.2+ds-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #nnnn)
 
diff --git a/debian/control b/debian/control
index eabb618..1ee4cd3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
- , nodejs
-Standards-Version: 3.9.8
+ , nodejs (>= 6)
+Standards-Version: 4.1.0
 Homepage: https://github.com/substack/browser-pack
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browser-pack.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-browser-pack.git
@@ -16,7 +16,7 @@ Package: node-browser-pack
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 6)
  , node-through2 (>= 2.0.0)
  , node-umd (>= 3.0.0)
  , node-combine-source-map (>= 0.7.1)
diff --git a/debian/install b/debian/install
index f8923b9..bc7293e 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,3 @@
-index.js usr/lib/nodejs/browser-pack/
-bin usr/lib/nodejs/browser-pack/
+*.js usr/lib/nodejs/browser-pack/
+bin/cmd.js usr/lib/nodejs/browser-pack/bin/
 package.json usr/lib/nodejs/browser-pack/
diff --git a/debian/rules b/debian/rules
index de57af0..d68bdf8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,14 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
+_prelude.js: prelude.js
+	uglifyjs -c side_effects=false --ie8 --verbose --passes=5 -m --source-map -o _prelude.js -- prelude.js
+	sed -i 's/;[[:space:]]*$$//g' _prelude.js
 
+override_dh_auto_build: _prelude.js
 
+#override_dh_auto_test:
 
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f _prelude.js

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



More information about the Pkg-javascript-commits mailing list