[Pkg-javascript-commits] [node-fill-range] 04/05: Update packaging
Julien Puydt
julien.puydt at laposte.net
Sat Nov 25 17:10:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-fill-range.
commit 39c108531f9c582ca4836ef45c6e28998fdab628
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sat Nov 25 18:03:20 2017 +0100
Update packaging
---
debian/changelog | 7 +++++++
debian/compat | 2 +-
debian/control | 33 +++++++++++++++------------------
debian/copyright | 3 +--
debian/rules | 6 ------
debian/tests/control | 6 +++---
debian/tests/upstreamtestsuite | 5 +++++
debian/watch | 2 +-
8 files changed, 33 insertions(+), 31 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d4b1597..c9435fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,13 @@ node-fill-range (5.0.0-1) UNRELEASED; urgency=medium
* Team upload
* New upstream release
+ * Update packaging:
+ - Use https in d/copyright's Format
+ - Bump dh compat to 10
+ - Move to section javascript
+ - Bump std-ver to 4.1.1
+ - Bump d/watch to version 4
+ - Run upstream test suite in autopkgtest
-- Julien Puydt <julien.puydt at laposte.net> Sat, 25 Nov 2017 17:09:33 +0100
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 1d1a765..eb9270a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,31 +1,28 @@
Source: node-fill-range
-Section: web
+Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen at debian.org>
-Build-Depends:
- debhelper (>= 9)
- , dh-buildinfo
- , nodejs
- , mocha
- , node-repeat-string (>= 1.5.4~)
- , node-to-regex-range (>= 0.2.0~)
- , node-is-number (>= 3.0.0~)
- , node-extend-shallow (>= 2.0.1~)
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10),
+ mocha,
+ node-extend-shallow (>= 2.0.1~),
+ node-is-number (>= 3.0.0~),
+ node-repeat-string (>= 1.5.4~),
+ node-to-regex-range (>= 0.2.0~),
+ nodejs
+Standards-Version: 4.1.1
Homepage: https://github.com/jonschlinkert/fill-range
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-fill-range.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-fill-range.git
Package: node-fill-range
Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
- , node-repeat-string (>= 1.5.4~)
- , node-to-regex-range (>= 0.2.0~)
- , node-is-number (>= 3.0.0~)
- , node-extend-shallow (>= 2.0.1~)
+Depends: node-extend-shallow (>= 2.0.1~),
+ node-is-number (>= 3.0.0~),
+ node-repeat-string (>= 1.5.4~),
+ node-to-regex-range (>= 0.2.0~),
+ nodejs,
+ ${misc:Depends}
Description: fill in a range of numbers or letters
optionally passing an increment or `step` to use, or create a regex-compatible
range with `options.toRegex`
diff --git a/debian/copyright b/debian/copyright
index b93bbd1..46bb5af 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fill-range
Upstream-Contact: https://github.com/jonschlinkert/fill-range/issues
Source: https://github.com/jonschlinkert/fill-range
@@ -31,4 +31,3 @@ License: Expat
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.
-
diff --git a/debian/rules b/debian/rules
index 3170fba..95a8f0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
%:
dh $@
-#override_dh_auto_build:
-
override_dh_auto_test:
mocha
diff --git a/debian/tests/control b/debian/tests/control
index 92335a4..f4f363a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
Tests: require
-Depends: node-fill-range
+Depends: @
-Test-Command: mocha
-Depends: @, @builddeps@
+Tests: upstreamtestsuite
+Depends: @, node-mocha
diff --git a/debian/tests/upstreamtestsuite b/debian/tests/upstreamtestsuite
new file mode 100644
index 0000000..aa59ed4
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cp -R test test.modified
+sed -i -e "s|require('..')|require('fill-range')|g" `find test.modified -type f`
+mocha test.modified
diff --git a/debian/watch b/debian/watch
index 652d1c7..0ff56f0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
-version=3
+version=4
opts=\
dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
filenamemangle=s/.*\/([\d\.-]+)\.tar\.gz/node-jison-$1.tar.gz/ \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-fill-range.git
More information about the Pkg-javascript-commits
mailing list