[Pkg-javascript-commits] [node-module-deps] 439/444: First debianization

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:21 UTC 2017


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

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

commit 084e63f165a7efc00c47946288cc91d50be6c560
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sun Sep 24 15:36:06 2017 +0200

    First debianization
---
 debian/changelog     |  4 ++--
 debian/control       | 28 ++++++++++++++++++++++++----
 debian/dirs          |  1 -
 debian/install       |  1 +
 debian/links         |  1 -
 debian/module-deps   |  3 +++
 debian/module-deps.1 | 19 +++++++++++++++++++
 debian/rules         | 16 ++++++++++++----
 8 files changed, 61 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 53a5b83..f08eaa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-node-module-deps (4.1.1-1) UNRELEASED; urgency=low
+node-module-deps (4.1.1-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #876091)
 
  -- Bastien Roucariès <rouca at debian.org>  Fri, 15 Sep 2017 22:01:25 +0200
 
diff --git a/debian/control b/debian/control
index 1d46313..52c965a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,23 @@ Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
- , nodejs (>= 6)
+ , dpkg-dev (>= 1.17.14)
+ , nodejs (>= 6) <!nocheck>
+ , node-detective (>= 4.0.0) <!nocheck>
+ , node-concat-stream (>= 1.5.0) <!nocheck>
+ , node-browser-resolve (>= 1.7.0) <!nocheck>
+ , node-subarg (>= 1.0.0) <!nocheck>
+ , node-parents (>= 1.0.0) <!nocheck>
+ , node-resolve (>= 1.1.3) <!nocheck>
+ , node-inherits (>= 2.0.1) <!nocheck>
+ , node-stream-combiner2 (>= 1.1.1) <!nocheck>
+ , node-defined (>= 1.0.0) <!nocheck>
+ , node-duplexer2 (>= 0.1.2) <!nocheck>
+ , node-jsonstream (>= 1.0.3) <!nocheck>
+ , node-cached-path-relative (>= 1.0.0) <!nocheck>
+ , node-through2 (>= 2.0.0) <!nocheck>
+ , node-xtend (>=4.0.0) <!nocheck>
+ , node-browser-pack (>= 5.0.0) <!nocheck>
 Standards-Version: 4.1.0
 Homepage: https://github.com/substack/module-deps
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-module-deps.git
@@ -30,8 +46,12 @@ Depends:
  , node-jsonstream (>= 1.0.3)
  , node-cached-path-relative (>= 1.0.0)
  , node-through2 (>= 2.0.0)
- , node-extend
-Description: walk the dependency graph to generate json output that can be fed into browser-pack
- FIX_ME long description
+ , node-xtend (>=4.0.0)
+Description: walk the dependency graph to generate json output for browser-pack
+ This modules creates a dependency graph allowing browserify to embed
+ all modules in a single object.
+ .
+ Browserify is a JavaScript tool that allows developers to write
+ Node.js-style  modules that compile for use in the browser
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index e772481..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/bin
diff --git a/debian/install b/debian/install
index e1e5f79..2277694 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,4 @@
+debian/module-deps /usr/bin
 bin usr/lib/nodejs/module-deps/
 index.js usr/lib/nodejs/module-deps/
 package.json usr/lib/nodejs/module-deps/
diff --git a/debian/links b/debian/links
deleted file mode 100644
index dbaee7a..0000000
--- a/debian/links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/nodejs/module-deps/bin/cmd.js usr/bin/module-deps
diff --git a/debian/module-deps b/debian/module-deps
new file mode 100755
index 0000000..a5cc9af
--- /dev/null
+++ b/debian/module-deps
@@ -0,0 +1,3 @@
+#!/bin/sh
+#wrapper in order to find usage
+node /usr/lib/nodejs/modules-deps/bin/cmd.js "$@"
\ No newline at end of file
diff --git a/debian/module-deps.1 b/debian/module-deps.1
new file mode 100644
index 0000000..9e008b3
--- /dev/null
+++ b/debian/module-deps.1
@@ -0,0 +1,19 @@
+.TH module\-deps "1" "September 2017" "module\-deps" "User Commands"
+.SH NAME
+module-deps \- walk the dependency graph to generate json output for browser-pack
+.SH DESCRIPTION
+module\-deps [FILES] OPTIONS
+.IP
+Generate json output for the entry point FILES.
+This script creates a dependency graph allowing browserify to embed
+all modules in a single object.
+.PP
+OPTIONS are:
+.TP
+\fB\-t\fR TRANSFORM
+Apply a TRANSFORM.
+.TP
+\fB\-g\fR TRANSFORM
+Apply a global TRANSFORM.
+.PP
+
diff --git a/debian/rules b/debian/rules
index de57af0..7e8d81f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,17 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
+override_dh_auto_test:
+	tap -R spec test/*.js
+else
+override_dh_auto_test:
+	@echo '**********************************************************'
+	@echo 'Skip test                  '
+	@echo '**********************************************************'
+endif
 
+override_dh_fixperms:
+	dh_fixperms
+	chmod a+x debian/node-module-deps/usr/lib/nodejs/module-deps/bin/cmd.js

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



More information about the Pkg-javascript-commits mailing list