diff --git a/.gitignore b/.gitignore index 224e7f0..239ecff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.pc/ +node_modules +yarn.lock diff --git a/debian/changelog b/debian/changelog index d093d84..5219cbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,24 @@ +node-p-is-promise (3.0.0-2) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Submit. + * Remove obsolete fields Contact, Name from debian/upstream/metadata + (already present in machine-readable debian/copyright). + * Update standards version to 4.5.0, no changes needed. + + [ Yadd ] + * Bump debhelper compatibility level to 13 + * Modernize debian/watch + * Fix GitHub tags regex + * Fix filenamemangle + * Use dh-sequence-nodejs instead of pkg-js-tools + * Update standards version to 4.6.0, no changes needed. + * Drop nodejs dependency + + -- Yadd Thu, 13 Jan 2022 22:43:24 +0100 + node-p-is-promise (3.0.0-1) unstable; urgency=medium * Team upload diff --git a/debian/control b/debian/control index f5b495f..a63a5b1 100644 --- a/debian/control +++ b/debian/control @@ -5,12 +5,11 @@ Maintainer: Debian Javascript Maintainers Testsuite: autopkgtest-pkg-nodejs Build-Depends: - debhelper-compat (= 12) + debhelper-compat (= 13) , node-bluebird , node-tape - , nodejs - , pkg-js-tools (>= 0.8.8) -Standards-Version: 4.4.1 + , dh-sequence-nodejs +Standards-Version: 4.6.0 Homepage: https://github.com/sindresorhus/p-is-promise#readme Vcs-Git: https://salsa.debian.org/js-team/node-p-is-promise.git Vcs-Browser: https://salsa.debian.org/js-team/node-p-is-promise @@ -19,9 +18,7 @@ Rules-Requires-Root: no Package: node-p-is-promise Architecture: all Multi-Arch: foreign -Depends: - ${misc:Depends} - , nodejs +Depends: ${misc:Depends} Description: Check if something is a promise Just pass your value to Promise.resolve() and let it handle it. . diff --git a/debian/rules b/debian/rules index 20809a4..218df65 100755 --- a/debian/rules +++ b/debian/rules @@ -5,4 +5,4 @@ #export DH_VERBOSE=1 %: - dh $@ --with nodejs + dh $@ diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/debian/upstream/metadata b/debian/upstream/metadata index daec620..9fa7069 100644 --- a/debian/upstream/metadata +++ b/debian/upstream/metadata @@ -1,7 +1,6 @@ --- Archive: GitHub Bug-Database: https://github.com/sindresorhus/p-is-promise/issues -Contact: https://github.com/sindresorhus/p-is-promise/issues -Name: p-is-promise Repository: https://github.com/sindresorhus/p-is-promise.git Repository-Browse: https://github.com/sindresorhus/p-is-promise +Bug-Submit: https://github.com/sindresorhus/p-is-promise/issues/new diff --git a/debian/watch b/debian/watch index 59217a8..6d2bd2c 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,5 @@ -version=3 +version=4 opts=\ -dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ -filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-p-is-promise-$1.tar.gz/ \ - https://github.com/sindresorhus/p-is-promise/tags .*/archive/v?([\d\.]+).tar.gz +dversionmangle=auto,\ +filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-p-is-promise-$1/ \ + https://github.com/sindresorhus/p-is-promise/tags .*/archive/.*/v?([\d\.]+).tar.gz