[Pkg-javascript-commits] [node-browserify-des] 08/08: Finalize
Bastien Roucariès
rouca at moszumanska.debian.org
Thu May 4 10:16:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-browserify-des.
commit 35dbc502fec6740679d5e8eee01d60e35378b6c9
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Fri Apr 28 14:20:31 2017 +0200
Finalize
---
debian/changelog | 10 ++++------
debian/control | 21 +++++++++++++++++----
debian/copyright | 2 +-
debian/docs | 1 -
debian/rules | 12 ++++++++----
debian/tests/control | 3 +++
debian/tests/runtestsuite | 15 +++++++++++++++
debian/watch | 2 +-
8 files changed, 49 insertions(+), 17 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 275632a..ced20dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,6 @@
-node-browserify-des (1.0.0-1) UNRELEASED; urgency=low
+node-browserify-des (1.0.0+20170220gitde9d4ef4cbb9fd-1) unstable; urgency=low
- [ Bastien Roucariès <rouca at debian.org> Fri, 28 Apr 2017 13:59:21 +0200 ]
- * Initial release (Closes: #nnnn)
+ * Initial release (Closes: #861398)
+ * Package from git master in order to get license file.
- [ bastien ]
-
- -- bastien <bastien at portable2015-bastien.roucariès.eu> Fri, 28 Apr 2017 13:59:32 +0200
+ -- Bastien Roucariès <rouca at debian.org> Fri, 28 Apr 2017 14:17:11 +0200
diff --git a/debian/control b/debian/control
index 3044bb8..b55e52d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,12 @@ Uploaders: Bastien Roucariès <rouca at debian.org>
Build-Depends:
debhelper (>= 10)
, dh-buildinfo
- , nodejs
+ , nodejs (>= 4.7)
+ , dpkg-dev (>= 1.17.14)
+ , node-inherits (>= 2.0.1) <!nocheck>
+ , node-cipher-base (>= 1.0.1) <!nocheck>
+ , node-des.js (>= 1.0.0) <!nocheck>
+ , node-tape (>= 4.2) <!nocheck>
Standards-Version: 3.9.8
Homepage: https://github.com/crypto-browserify/browserify-des#readme
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browserify-des.git
@@ -16,11 +21,19 @@ Package: node-browserify-des
Architecture: all
Depends:
${misc:Depends}
- , nodejs
+ , nodejs (>= 4.7)
, node-inherits (>= 2.0.1)
, node-cipher-base (>= 1.0.1)
, node-des.js (>= 1.0.0)
-Description: browserify-des ===
- FIX_ME long description
+Description: browserify DES cryptographic operatation
+ This package allows one to browserify DES cryptographic operation.
+ .
+ The Data Encryption Standard (DES) is a symmetric-key algorithm for
+ the encryption of electronic data. Although now considered insecure,
+ it is implemented in standard cryptographic library implemented in
+ Node.js.
+ .
+ This pure javascript module is needed for browserify. Browserify
+ allows one to run javascript code in browser context.
.
Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
index e45921d..d3922db 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: https://github.com/crypto-browserify/browserify-des/issues
Source: https://github.com/crypto-browserify/browserify-des#readme
Files: *
-Copyright: 2017 Calvin Metcalf <calvin.metcalf at gmail.com>
+Copyright: 2015-2017 Calvin Metcalf <calvin.metcalf at gmail.com>
License: Expat
Files: debian/*
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index cdb5f04..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-readme.md
diff --git a/debian/rules b/debian/rules
index de57af0..7d42337 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)))
+ tape test.js
+else
+ @echo '**********************************************************'
+ @echo 'Skip test suite '
+ @echo '**********************************************************'
+endif
diff --git a/debian/tests/control b/debian/tests/control
index 3e506f1..3ea0be5 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-browserify-des
+
+Tests: runtestsuite
+Depends: node-browserify-des, node-tape
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
new file mode 100755
index 0000000..83d72eb
--- /dev/null
+++ b/debian/tests/runtestsuite
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+# notice the / at end in order to load this module
+PACKAGE='browserify-des'
+SEDCMD="s,require\s*[(]\s*'[.][/]',require('$PACKAGE',g"
+
+tmpdir=$(mktemp -d)
+trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP
+
+cp test.js $tmpdir/
+cp modes.js $tmpdir/
+echo 'test.js' |
+ xargs -n1 \
+ sh -c 'set -e; echo "TESTING: $3"; sed -e "$1" < "$3" > "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
+tape $tmpdir/test.js
diff --git a/debian/watch b/debian/watch
index 08b0b3c..3c58271 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-browserify-des-$1.tar.gz/ \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-des.git
More information about the Pkg-javascript-commits
mailing list