[Pkg-javascript-commits] [node-has-binary] 05/06: Replace dependency from better-assert with assert
Paolo Greppi
paolog-guest at moszumanska.debian.org
Fri Dec 16 08:27:17 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-has-binary.
commit 1ff6853e66d25772e70c0943db899862594d1b94
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Fri Dec 16 08:23:22 2016 +0000
Replace dependency from better-assert with assert
---
debian/changelog | 4 ++--
debian/patches/00-better-assert.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
debian/rules | 2 +-
4 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b798607..c408659 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-has-binary (0.1.7-1) UNRELEASED; urgency=low
+node-has-binary (0.1.7-1) unstable; urgency=low
* Initial release (Closes: #781486)
- -- Paolo Greppi <paolog at matanui> Fri, 16 Dec 2016 09:17:29 +0100
+ -- Paolo Greppi <paolo.greppi at libpf.com> Fri, 16 Dec 2016 09:17:29 +0100
diff --git a/debian/patches/00-better-assert.diff b/debian/patches/00-better-assert.diff
new file mode 100644
index 0000000..70a1f81
--- /dev/null
+++ b/debian/patches/00-better-assert.diff
@@ -0,0 +1,16 @@
+Description: Replace dependency from better-assert with assert.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-has-binary/test.js
+===================================================================
+--- node-has-binary.orig/test.js
++++ node-has-binary/test.js
+@@ -1,6 +1,6 @@
+
+ var hasBinary = require('./');
+-var assert = require('better-assert');
++var assert = require('assert');
+ var fs = require('fs');
+
+ describe('has-binarydata', function(){
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..72b2e3d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-better-assert.diff
diff --git a/debian/rules b/debian/rules
index 9b4a89a..b0fc5f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ override_dh_auto_build:
# Skip upstream Makefile
override_dh_auto_test:
- mocha test.js
+ mocha -R spec test.js
override_dh_installchangelogs:
dh_installchangelogs -k History.md
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-has-binary.git
More information about the Pkg-javascript-commits
mailing list