[Pkg-javascript-commits] [node-extend-shallow] 04/05: Update packaging

Julien Puydt julien.puydt at laposte.net
Sat Nov 25 18:32:01 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-extend-shallow.

commit 4f1a8c2226b666249e142996a44911456a273d45
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Nov 25 18:39:42 2017 +0100

    Update packaging
---
 debian/changelog               |  8 ++++++++
 debian/compat                  |  2 +-
 debian/control                 | 18 ++++--------------
 debian/copyright               |  2 +-
 debian/rules                   |  6 ------
 debian/tests/control           |  6 +++---
 debian/tests/upstreamtestsuite |  4 ++++
 debian/watch                   | 11 ++---------
 8 files changed, 23 insertions(+), 34 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 516a65a..82f9f83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,14 @@ node-extend-shallow (3.0.1-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
+    - Update d/watch (version 4, upstream github)
+    - Make autopkgtest check the installed code 
 
  -- Julien Puydt <julien.puydt at laposte.net>  Sat, 25 Nov 2017 18:33:58 +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 f69ac63..feaa16d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,27 +1,17 @@
 Source: node-extend-shallow
-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-should
- , node-is-extendable (>= 0.1.0~)
- , node-minimist
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10), nodejs, mocha, node-is-extendable (>= 0.1.0~), node-minimist
+Standards-Version: 4.1.1
 Homepage: https://github.com/jonschlinkert/extend-shallow
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-extend-shallow.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-extend-shallow.git
 
 Package: node-extend-shallow
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
- , node-is-extendable (>= 0.1.0~)
+Depends: ${misc:Depends}, nodejs, node-is-extendable (>= 0.1.0~)
 Description: extend an object with the properties of additional objects
  node.js/javascript util.
  .
diff --git a/debian/copyright b/debian/copyright
index 641a343..f7e694d 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: extend-shallow
 Upstream-Contact: https://github.com/jonschlinkert/extend-shallow/issues
 Source: https://github.com/jonschlinkert/extend-shallow
diff --git a/debian/rules b/debian/rules
index 2f607a5..3e4507e 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 -R spec
diff --git a/debian/tests/control b/debian/tests/control
index d7cc5d4..1d59d33 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
-Depends: node-extend-shallow
+Depends: @
 
-Test-Command: mocha -R spec
-Depends: @, @builddeps@
+Tests: upstreamtestsuite
+Depends: @, node-mocha, node-minimist
diff --git a/debian/tests/upstreamtestsuite b/debian/tests/upstreamtestsuite
new file mode 100644
index 0000000..21591af
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cat test.js | sed "s|require('./')|require('extend-shallow')|g" > test-modified.js
+mocha test-modified.js
diff --git a/debian/watch b/debian/watch
index e077162..f69b96c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,9 +1,2 @@
-version=3
-# It is not recommended use fakeupstream. Please investigate more.
-# Origin url: FIX_ME repo url
-# Take a look at https://wiki.debian.org/debian/watch/
-# See also fakeupstream: http://anonscm.debian.org/viewvc/qa/trunk/cgi-bin/fakeupstream.cgi?view=markup
-opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
-filenamemangle=s/.*=// \
- http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/extend-shallow .*=extend-shallow-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
+version=4
+https://github.com/jonschlinkert/extend-shallow/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list