[Pkg-javascript-commits] [node-define-property] 03/04: Update packaging

Julien Puydt julien.puydt at laposte.net
Sat Nov 25 09:14:17 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-define-property.

commit f9a6f26de1cb17576ed97e26ffbdfe6d72fd556a
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Nov 25 10:10:09 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index db15218..74a8b33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+node-define-property (1.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
+    - Clean d/rules 
+    - Move to section javascript
+    - Bump std-ver to 4.1.1
+    - Bump d/watch to version 4
+    - Make autopkgtest run the installed code
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Sat, 25 Nov 2017 10:03:07 +0100
+
 node-define-property (0.2.5-1) unstable; urgency=low
 
   * Initial release (Closes: #840993)
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 2d37c98..9a9d3f5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,17 @@
 Source: node-define-property
-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-should
- , node-is-descriptor (>= 0.1.0)
-Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 10), nodejs, mocha, node-is-descriptor (>= 0.1.0)
+Standards-Version: 4.1.1
 Homepage: https://github.com/jonschlinkert/define-property
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-define-property.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-define-property.git
 
 Package: node-define-property
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
- , node-is-descriptor (>= 0.1.0)
+Depends: ${misc:Depends}, nodejs, node-is-descriptor (>= 0.1.0)
 Description: Define property on an object
  Define a non-enumerable property on an object.
  .
diff --git a/debian/copyright b/debian/copyright
index 0d7d4a0..2af19a7 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: define-property
 Upstream-Contact: https://github.com/jonschlinkert/define-property/issues
 Source: https://github.com/jonschlinkert/define-property
diff --git a/debian/rules b/debian/rules
index d1b1f99..95a8f0f 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
-
-
diff --git a/debian/tests/control b/debian/tests/control
index 57b066b..f4f363a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 Tests: require
-Depends: node-define-property
+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..0f6ff7e
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cat test.js | sed "s|require('./|require('define-property|g" > test-modified.js
+mocha test-modified.js
diff --git a/debian/watch b/debian/watch
index 29d2446..3517781 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-define-property-$1.tar.gz/ \

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



More information about the Pkg-javascript-commits mailing list