[Pkg-javascript-commits] [node-decompress-zip] 01/02: Disable readable-stream, stream module from Node.js is sufficient.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Mar 21 22:08:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository node-decompress-zip.
commit b09f6ad4c5811c41cc5b14e5580b2b9269bba70c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Mar 21 22:18:21 2015 +0100
Disable readable-stream, stream module from Node.js is sufficient.
---
debian/control | 1 -
debian/patches/readable-stream.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 0159c72..d6e3458 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,6 @@ Architecture: all
Depends: ${misc:Depends},
nodejs,
node-q (>= 1.1.2),
- node-readable-stream (>= 1.1.8),
node-mkpath (>= 0.1.0),
node-binary (>= 0.3.0),
node-nopt (>= 3.0.1),
diff --git a/debian/patches/readable-stream.patch b/debian/patches/readable-stream.patch
new file mode 100644
index 0000000..e026ba5
--- /dev/null
+++ b/debian/patches/readable-stream.patch
@@ -0,0 +1,24 @@
+Description: Disable readable-stream, stream module from Node.js is sufficient.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/lib/extractors.js
++++ b/lib/extractors.js
+@@ -1,7 +1,4 @@
+ var stream = require('stream');
+-if (!stream.Readable) {
+- var stream = require('readable-stream');
+-}
+ var fs = require('graceful-fs');
+ var Q = require('q');
+ var path = require('path');
+--- a/package.json
++++ b/package.json
+@@ -37,7 +37,6 @@
+ "mkpath": "^0.1.0",
+ "nopt": "^3.0.1",
+ "q": "^1.1.2",
+- "readable-stream": "^1.1.8",
+ "touch": "0.0.3"
+ },
+ "devDependencies": {
diff --git a/debian/patches/series b/debian/patches/series
index 81a5e8e..494bc39 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
nodejs.patch
+readable-stream.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-decompress-zip.git
More information about the Pkg-javascript-commits
mailing list