Import Debian changes 0.1.4-ok1
node-duplexer3 (0.1.4-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
23535d1dd8
commit
375d594ea3
|
@ -0,0 +1,5 @@
|
|||
node-duplexer3 (0.1.4-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- zhouganqing <zhouganqing@kylinos.cn> Mon, 20 Feb 2023 16:09:22 +0800
|
|
@ -0,0 +1,29 @@
|
|||
Source: node-duplexer3
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Section: javascript
|
||||
Testsuite: autopkgtest-pkg-nodejs
|
||||
Priority: optional
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
node-tap <!nocheck>,
|
||||
mocha <!nocheck>,
|
||||
dh-sequence-nodejs
|
||||
Standards-Version: 4.6.0
|
||||
Vcs-Browser: https://gitee.com/openkylin/node-duplexer3
|
||||
Vcs-Git: https://gitee.com/openkylin/node-duplexer3.git
|
||||
Homepage: https://github.com/floatdrop/duplexer3
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: node-duplexer3
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Provides: node-duplexer2 (= ${source:Version})
|
||||
Replaces: node-duplexer2
|
||||
Breaks: node-duplexer2 (<< 0.1.4-2)
|
||||
Multi-Arch: foreign
|
||||
Description: Like duplexer but using streams3
|
||||
This is a reimplementation of duplexer using the Streams3 API
|
||||
which is standard in Node as of v4. Everything largely works the same
|
||||
Duplexer takes a writable stream and a readable stream and makes them
|
||||
appear as a readable writable stream.
|
||||
.
|
||||
Node.js is an event-based server-side JavaScript engine.
|
|
@ -0,0 +1,37 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: duplexer3
|
||||
Upstream-Contact: https://github.com/floatdrop/duplexer3/issues
|
||||
Source: https://github.com/floatdrop/duplexer3
|
||||
|
||||
Files: *
|
||||
Copyright: 2017 Conrad Pankoff <deoxxa@fknsrs.biz> (https://www.fknsrs.biz/)
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2017 Tushar Agey <agey.tushar3@gmail.com>
|
||||
License: BSD-3-clause
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1 @@
|
|||
README.md
|
|
@ -0,0 +1 @@
|
|||
package.json usr/share/nodejs/duplexer2/
|
|
@ -0,0 +1 @@
|
|||
symlink_to_dir /usr/lib/nodejs/duplexer2 0.1.4-5~
|
|
@ -0,0 +1 @@
|
|||
duplexer3/index.js duplexer2/index.js
|
|
@ -0,0 +1,24 @@
|
|||
Description: Fix bad test
|
||||
For an unknown reason, this test fails
|
||||
Author: Xavier Guimard <yadd@debian.org>
|
||||
Bug: https://github.com/floatdrop/duplexer3/issues/2
|
||||
Bug-Debian: https://bugs.debian.org/918670
|
||||
Forwarded: https://github.com/floatdrop/duplexer3/issues/2
|
||||
Last-Update: 2019-01-09
|
||||
|
||||
--- a/test/tests.js
|
||||
+++ b/test/tests.js
|
||||
@@ -164,6 +164,7 @@
|
||||
assert.equal(typeof duplexer3.DuplexWrapper, "function");
|
||||
});
|
||||
|
||||
+ /*
|
||||
it("should not force flowing-mode", function(done) {
|
||||
var writable = new stream.PassThrough();
|
||||
var readable = new stream.PassThrough();
|
||||
@@ -201,4 +202,5 @@
|
||||
assert.equal(readable._readableState.flowing, null);
|
||||
});
|
||||
});
|
||||
+ */
|
||||
});
|
|
@ -0,0 +1 @@
|
|||
fix-bad-test.patch
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
perl -i -pe 's/duplexer3/duplexer2/' debian/node-duplexer3/usr/share/nodejs/duplexer2/package.json
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,6 @@
|
|||
set -e
|
||||
set -x
|
||||
if test "$AUTOPKGTEST_TMP" != ""; then
|
||||
node -e 'require("duplexer2")'
|
||||
fi
|
||||
mocha
|
|
@ -0,0 +1,5 @@
|
|||
version=4
|
||||
opts=\
|
||||
dversionmangle=auto,\
|
||||
filenamemangle=s%(?:.*?/)?v?(@ANY_VERSION@@ARCHIVE_EXT@)%@PACKAGE@-$1% \
|
||||
https://github.com/floatdrop/duplexer3/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
|
Loading…
Reference in New Issue