[Pkg-javascript-commits] [node-read-only-stream] 19/22: Improve debianization

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 20 13:52:19 UTC 2017


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

rouca pushed a commit to branch master
in repository node-read-only-stream.

commit fe9ef053183f31e11b7c1e58896a6aa649604863
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Aug 11 22:55:04 2017 +0200

    Improve debianization
---
 debian/changelog |  9 +++------
 debian/compat    |  2 +-
 debian/control   | 23 +++++++++++++++++------
 debian/copyright |  2 +-
 debian/rules     | 14 ++++++++------
 debian/watch     |  2 +-
 6 files changed, 31 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7044ad3..eb9d0c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,5 @@
-node-read-only-stream (2.0.0-1) UNRELEASED; urgency=low
+node-read-only-stream (2.0.0-1) unstable; urgency=low
 
-  [ FIX_ME debian author  Fri, 11 Aug 2017 22:41:14 +0200 ]
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #864689)
 
-  [ bastien ]
-
- -- bastien <bastien at portable2015-bastien.roucariès.eu>  Fri, 11 Aug 2017 22:41:27 +0200
+ -- Bastien Roucariès <rouca at debian.org>  Fri, 11 Aug 2017 22:59:28 +0200
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 b81cd79..4d34065 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,17 @@ Source: node-read-only-stream
 Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: FIX_ME debian author
+Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , nodejs (>= 2.0.2)
+ , dpkg-dev (>= 1.17.14)
+ , node-through2 (>= 2.0.0)  <!nocheck>
+ , node-through (>= 2.3.4) <!nocheck>
+ , node-concat-stream (>= 1.6.0) <!nocheck>
+ , node-tape (>=4.2.0) <!nocheck>
+ , node-readable-stream (>=2.0.2) <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/substack/read-only-stream
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-read-only-stream.git
@@ -16,9 +22,14 @@ Package: node-read-only-stream
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
  , nodejs (>= 2.0.2)
-Description: wrap a readable/writable stream to be read-only
- FIX_ME long description
+ , node-readable-stream (>=2.0.2)
+Description: Node.js read-only stream implementation
+ This module allow one to use a readable/writable stream internally but to
+ expose just the readable part of that internal stream.
+ .
+ A stream is an abstract interface for working with streaming data in Node.js.
+ There are many stream objects provided by Node.js. For instance, a request to
+ an HTTP server and process.stdout are both stream instances.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
index 4672190..bd24e14 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -8,7 +8,7 @@ Copyright: 2017 James Halliday <mail at substack.net> (http://substack.net)
 License: Expat
 
 Files: debian/*
-Copyright: 2017 FIX_ME debian author
+Copyright: 2017, Bastien Roucariès <rouca at debian.org>
 License: Expat
 
 License: Expat
diff --git a/debian/rules b/debian/rules
index de57af0..9069837 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,11 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	tape test/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
diff --git a/debian/watch b/debian/watch
index a738352..9d08f3c 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-read-only-stream-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list