[Pkg-javascript-commits] [node-arr-flatten] 04/06: Update packaging

Julien Puydt julien.puydt at laposte.net
Sat Nov 25 16:06:26 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-arr-flatten.

commit e4713d0a57d1d792e9e3c2c7c008a53ef207ace9
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Nov 25 17:02:31 2017 +0100

    Update packaging
---
 debian/changelog               |  7 +++++++
 debian/compat                  |  2 +-
 debian/control                 | 15 ++++-----------
 debian/copyright               |  2 +-
 debian/rules                   |  8 --------
 debian/tests/control           |  6 +++---
 debian/tests/upstreamtestsuite |  4 ++++
 debian/watch                   |  2 +-
 8 files changed, 21 insertions(+), 25 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1839587..c51fa84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,13 @@ node-arr-flatten (1.1.0-1) UNRELEASED; urgency=medium
 
   * Team upload
   * New upstream release
+  * Update packaging:
+    - Use https in d/copyright's Format
+    - Bump dh compat to 10
+    - Clean d/rules
+    - Move to section javascript
+    - Bump std-ver to 4.1.1
+    - Make autopkgtest check the installed code
 
  -- Julien Puydt <julien.puydt at laposte.net>  Sat, 25 Nov 2017 16:57:24 +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 486752d..71cbff2 100644
--- a/debian/control
+++ b/debian/control
@@ -1,24 +1,17 @@
 Source: node-arr-flatten
-Section: web
+Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Sruthi Chandran <srud at disroot.org>
-Build-Depends:
- debhelper (>= 9)
- , dh-buildinfo
- , nodejs
- , mocha
- , node-array-flatten
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10), nodejs, mocha, node-array-flatten
+Standards-Version: 4.1.1
 Homepage: https://github.com/jonschlinkert/arr-flatten
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-arr-flatten.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-arr-flatten.git
 
 Package: node-arr-flatten
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
+Depends: ${misc:Depends}, nodejs
 Description: Recursively flatten an array or arrays
  Recursively flatten an array or arrays. This is the fastest implementation 
  of array flatten.
diff --git a/debian/copyright b/debian/copyright
index c76e657..8c49a9b 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: arr-flatten
 Upstream-Contact: https://github.com/jonschlinkert/arr-flatten/issues
 Source: https://github.com/jonschlinkert/arr-flatten
diff --git a/debian/rules b/debian/rules
index 9eb6b18..3e4507e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +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 -R spec
-
-
diff --git a/debian/tests/control b/debian/tests/control
index ba14b09..f4f363a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
-Depends: node-arr-flatten
+Depends: @
 
-Test-Command: mocha -R spec
-Depends: @, @builddeps@
+Tests: upstreamtestsuite
+Depends: @, node-mocha
diff --git a/debian/tests/upstreamtestsuite b/debian/tests/upstreamtestsuite
new file mode 100644
index 0000000..093b359
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cat test.js | sed "s|require('./')|require('arr-flatten')|g" > test-modified.js
+mocha test-modified.js
diff --git a/debian/watch b/debian/watch
index dad440b..c87797f 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-arr-flatten-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list