[Pkg-javascript-commits] [node-is-number] 01/05: Update packaging

Julien Puydt julien.puydt at laposte.net
Fri Nov 24 21:16:22 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-is-number.

commit 0ae08bd416e80ab38482e5d5c597d0a75318cebd
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Nov 24 22:11:30 2017 +0100

    Update packaging
---
 debian/changelog               | 13 +++++++++++++
 debian/compat                  |  2 +-
 debian/control                 | 16 ++++------------
 debian/copyright               |  2 +-
 debian/rules                   |  6 ------
 debian/tests/control           |  6 +++---
 debian/tests/upstreamtestsuite |  4 ++++
 debian/watch                   |  2 +-
 8 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bc524ff..1c9889c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+node-is-number (3.0.0-1.1) UNRELEASED; urgency=medium
+
+  * Update packaging:
+    - Push dh compat to 10
+    - Push std-ver to 4.1.1
+    - Push d/watch to version 4
+    - Use https in d/copyright's Format
+    - Clean up d/rules
+    - Made sure autopkgtest runs the installed code
+    - Move to section javascript
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 24 Nov 2017 22:06:32 +0100
+
 node-is-number (3.0.0-1) unstable; urgency=low
 
   * Initial release (Closes: #840946)
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 f5bae23..0a781d7 100644
--- a/debian/control
+++ b/debian/control
@@ -1,25 +1,17 @@
 Source: node-is-number
-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-kind-of (>= 3.0.2~)
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10), nodejs, mocha, node-kind-of (>= 3.0.2~)
+Standards-Version: 4.1.1
 Homepage: https://github.com/jonschlinkert/is-number
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-is-number.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-is-number.git
 
 Package: node-is-number
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
- , node-kind-of (>= 3.0.2~)
+Depends: ${misc:Depends}, nodejs, node-kind-of (>= 3.0.2~)
 Description: returns true if the value is a number
  It has comprehensive tests.
  .
diff --git a/debian/copyright b/debian/copyright
index e123856..0567023 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: is-number
 Upstream-Contact: https://github.com/jonschlinkert/is-number/issues
 Source: https://github.com/jonschlinkert/is-number
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 f383204..f4f363a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
-Depends: node-is-number
+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..8f33ba6
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cat test.js | sed "s|'./'|'is-number'|g" > test-modified.js
+mocha test-modified.js
diff --git a/debian/watch b/debian/watch
index f3f0846..732ec78 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/.*\/v?([\d\.-]+)\.tar\.gz/node-is-number-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list