Import Debian changes 3.1.6+~cs8.7.18-ok1

node-minipass (3.1.6+~cs8.7.18-ok1) yangtze; urgency=medium

  * Build for openKylin.
This commit is contained in:
zhouganqing 2023-02-15 10:59:56 +08:00
parent dca77e4a71
commit 093c1ac7da
16 changed files with 214 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
node-minipass (3.1.6+~cs8.7.18-ok1) yangtze; urgency=medium
* Build for openKylin.
-- zhouganqing <zhouganqing@kylinos.cn> Wed, 15 Feb 2023 10:59:56 +0800

31
debian/control vendored Normal file
View File

@ -0,0 +1,31 @@
Source: node-minipass
Section: javascript
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Testsuite: autopkgtest-pkg-nodejs
Build-Depends:
debhelper-compat (= 13)
, dh-sequence-nodejs
, node-encoding <!nocheck>
, node-end-of-stream <!nocheck>
, node-jsonparse <!nocheck>
, node-yallist (>= 4.0.0) <!nocheck>
, node-tap <!nocheck>
, node-through2 <!nocheck>
Standards-Version: 4.6.0
Homepage: https://github.com/isaacs/minipass#readme
Vcs-Git: https://gitee.com/openkylin/node-minipass.git
Vcs-Browser: https://gitee.com/openkylin/node-minipass
Rules-Requires-Root: no
Package: node-minipass
Architecture: all
Depends:
${misc:Depends}
, node-encoding
, node-jsonparse
, node-yallist (>= 4.0.0)
Provides: ${nodejs:Provides}
Description: Minimal implementation of a PassThrough for Node.js
minipass supports pipe/multi-pipe buffering data until either a "data"
event handler or "pipe()" is added (so firsk chunk not loose).

72
debian/copyright vendored Normal file
View File

@ -0,0 +1,72 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: minipass
Upstream-Contact: https://github.com/isaacs/minipass/issues
Source: https://github.com/isaacs/minipass#readme
https://github.com/isaacs/minipass-flush/tags
https://registry.npmjs.org/minipass-collect
https://registry.npmjs.org/minipass-pipeline
https://registry.npmjs.org/minipass-json-stream
https://github.com/isaacs/minipass-sized/tags
https://github.com/npm/minipass-fetch/tags
https://github.com/isaacs/minizlib/tags
Files-Excluded-minizlib: npm-*
Files: *
Copyright: npm, Inc. and Contributors
License: ISC
Files: debian/*
Copyright: 2021-2022, Yadd <yadd@debian.org>
License: ISC
Files: minipass-*/*
Copyright: Isaac Z. Schlueter and Contributors
License: ISC
Files: minipass-fetch/*
Copyright: Isaac Z. Schlueter and Contributors
2016 David Frank
License: Expat
Files: minipass-json-stream/*
Copyright: Isaac Z. Schlueter and Contributors
2011 Dominic Tarr
License: Expat
Files: minizlib/*
Copyright: Isaac Z. Schlueter and Contributors
Node.js contributors
Joyent, Inc. and other Node contributors
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
License: ISC
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README.md

4
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
pristine-tar=True
filter=[ '.gitignore', '.travis.yml', '.git*' ]
component=['minipass-flush', 'minipass-collect', 'minipass-fetch', 'minipass-json-stream', 'minipass-pipeline', 'minipass-sized', 'minizlib']

1
debian/nodejs/minipass-flush/test vendored Normal file
View File

@ -0,0 +1 @@
tap -J test

1
debian/nodejs/minipass-sized/test vendored Normal file
View File

@ -0,0 +1 @@
tap -J test

1
debian/nodejs/minizlib/test vendored Normal file
View File

@ -0,0 +1 @@
tap -J test

1
debian/nodejs/root_modules vendored Normal file
View File

@ -0,0 +1 @@
*

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
skip-test-that-require-tap-14.patch

View File

@ -0,0 +1,30 @@
Description: this subtest requires tap ≥ 14
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2021-08-18
--- a/test/collect.js
+++ b/test/collect.js
@@ -2,22 +2,6 @@
const t = require('tap')
const MP = require('../index.js')
-t.test('basic', async t => {
- const mp = new MP()
- let i = 5
- const interval = setInterval(() => {
- if (i --> 0)
- mp.write('foo\n')
- else {
- clearInterval(interval)
- mp.end()
- }
- })
- mp.setEncoding('utf8')
- const all = await mp.collect()
- t.same(all, ['foo\n','foo\n','foo\n','foo\n','foo\n'])
-})
-
t.test('error', async t => {
const mp = new MP()
const poop = new Error('poop')

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

7
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1,7 @@
# Matches minipass-*/*
add-component-copyright minipass-collect *
add-component-copyright minipass-flush *
add-component-copyright minipass-pipeline *
add-component-copyright minipass-sized *
# Test data
very-long-line-length-in-source-file minizlib/test/fixtures*

1
debian/tests/pkg-js/test vendored Normal file
View File

@ -0,0 +1 @@
tap -J test

49
debian/watch vendored Normal file
View File

@ -0,0 +1,49 @@
version=4
opts=\
dversionmangle=auto,\
repacksuffix=+ds,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-minipass-$1/ \
https://github.com/isaacs/minipass/tags .*/archive.*/v?([\d\.]+).tar.gz group
# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts="searchmode=plain,component=minipass-collect,ctype=nodejs,pgpmode=none" \
https://registry.npmjs.org/minipass-collect https://registry.npmjs.org/minipass-collect/-/minipass-collect-([\d\.]+)@ARCHIVE_EXT@ checksum
opts=\
component=minipass-fetch,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-minipass-fetch-$1/ \
https://github.com/npm/minipass-fetch/tags .*/archive.*/v?([\d\.]+).tar.gz checksum
opts=\
component=minipass-flush,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-minipass-flush-$1/ \
https://github.com/isaacs/minipass-flush/tags .*/archive.*/v?([\d\.]+).tar.gz checksum
# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts="searchmode=plain,component=minipass-json-stream,ctype=nodejs,pgpmode=none" \
https://registry.npmjs.org/minipass-json-stream https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-([\d\.]+)@ARCHIVE_EXT@ checksum
# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts="searchmode=plain,component=minipass-pipeline,ctype=nodejs,pgpmode=none" \
https://registry.npmjs.org/minipass-pipeline https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-([\d\.]+)@ARCHIVE_EXT@ checksum
opts=\
component=minipass-sized,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-minipass-sized-$1/ \
https://github.com/isaacs/minipass-sized/tags .*/archive.*/v?([\d\.]+).tar.gz checksum
opts=\
component=minizlib,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-minizlib-$1/ \
https://github.com/isaacs/minizlib/tags .*/archive.*/v?([\d\.]+).tar.gz checksum