[Pkg-javascript-commits] [node-multiparty] 06/08: remove no longer needed patches

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Oct 17 05:45:03 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-multiparty.

commit 599ec95e5fed94dd0a618a257fabf2a09439b8b8
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Fri Oct 17 05:41:04 2014 +0000

    remove no longer needed patches
---
 debian/patches/2001_readable_stream.patch | 37 -------------------------------
 debian/patches/2002_stream_counter.patch  | 29 ------------------------
 debian/patches/series                     |  2 --
 3 files changed, 68 deletions(-)

diff --git a/debian/patches/2001_readable_stream.patch b/debian/patches/2001_readable_stream.patch
deleted file mode 100644
index 75ac2b6..0000000
--- a/debian/patches/2001_readable_stream.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Description: readable-stream is only needed for nodejs 0.8 compat
-Author: Jérémy Lal <kapouer at melix.org>
-Forwarded: not-needed
-Last-Update: 2013-10-18
---- a/index.js
-+++ b/index.js
-@@ -1,6 +1,6 @@
- exports.Form = Form;
- 
--var stream = require('readable-stream')
-+var stream = require('stream')
-   , util = require('util')
-   , fs = require('fs')
-   , crypto = require('crypto')
-
---- node-multiparty-3.3.0.orig/test/standalone/test-error-listen-after-parse.js
-+++ node-multiparty-3.3.0/test/standalone/test-error-listen-after-parse.js
-@@ -2,7 +2,7 @@ var multiparty = require('../../')
-   , assert = require('assert')
-   , http = require('http')
-   , net = require('net')
--  , stream = require('readable-stream');
-+  , stream = require('stream');
- 
- var form = new multiparty.Form();
- var req = new stream.Readable();
---- node-multiparty-3.3.0.orig/test/standalone/test-error-unpipe.js
-+++ node-multiparty-3.3.0/test/standalone/test-error-unpipe.js
-@@ -2,7 +2,7 @@ var multiparty = require('../../')
-   , assert = require('assert')
-   , http = require('http')
-   , net = require('net')
--  , stream = require('readable-stream');
-+  , stream = require('stream');
- 
- var form = new multiparty.Form();
- var req = new stream.Readable();
diff --git a/debian/patches/2002_stream_counter.patch b/debian/patches/2002_stream_counter.patch
deleted file mode 100644
index 696f5a2..0000000
--- a/debian/patches/2002_stream_counter.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: add trivial StreamCounter implementation
-Author: Jérémy Lal <kapouer at melix.org>
-Forwarded: not-needed
-Last-Update: 2013-10-18
---- a/index.js
-+++ b/index.js
-@@ -7,7 +7,6 @@
-   , path = require('path')
-   , os = require('os')
-   , StringDecoder = require('string_decoder').StringDecoder
--  , StreamCounter = require('stream-counter')
- 
- var START = 0
-   , START_BOUNDARY = 1
-@@ -616,3 +615,14 @@
-   return c | 0x20;
- }
- 
-+function StreamCounter(options) {
-+  stream.Writable.call(this, options);
-+  this.bytes = 0;
-+}
-+util.inherits(StreamCounter, stream.Writable);
-+
-+StreamCounter.prototype._write = function(chunk, encoding, cb) {
-+  this.bytes += chunk.length;
-+  this.emit('progress');
-+  cb();
-+};
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index fb20673..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-2001_readable_stream.patch
-2002_stream_counter.patch

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



More information about the Pkg-javascript-commits mailing list