[Pkg-javascript-commits] [node-supports-color] 03/03: Update packaging for new upstream release.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Mar 20 23:56:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository node-supports-color.
commit c7758fe3b89421138d1ceb93e652610ac0f6b636
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Mar 21 00:46:31 2015 +0100
Update packaging for new upstream release.
---
debian/changelog | 5 ++---
debian/compat | 2 +-
debian/control | 27 +++++++++++++--------------
debian/copyright | 7 ++++---
debian/gbp.conf | 16 ++++++++++++++++
debian/install | 3 ++-
debian/links | 1 +
debian/patches/nodejs.patch | 12 ++++++++++++
debian/patches/series | 1 +
debian/rules | 8 +++-----
debian/upstream/metadata | 6 ++++++
debian/watch | 5 +++--
12 files changed, 64 insertions(+), 29 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f2b8586..a04e5a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
-node-supports-color (0.2.0-1) UNRELEASED; urgency=low
+node-supports-color (1.3.1-1) UNRELEASED; urgency=low
* Initial release (Closes: #753269)
- -- Andrew Kelley <superjoe30 at gmail.com> Sun, 29 Jun 2014 21:49:25 +0000
-
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 17 Mar 2015 22:01:27 +0100
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 0a638ab..f25badf 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,25 @@
Source: node-supports-color
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
Section: web
Priority: extra
-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: Andrew Kelley <superjoe30 at gmail.com>
-Build-Depends:
- debhelper (>= 8)
- , dh-buildinfo
- , mocha
- , nodejs
-Standards-Version: 3.9.5
-Homepage: https://github.com/sindresorhus/supports-color
+Build-Depends: debhelper (>= 9),
+ dh-buildinfo,
+ nodejs,
+ mocha
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-supports-color.git
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-supports-color.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-supports-color.git
+Homepage: https://github.com/sindresorhus/supports-color
XS-Testsuite: autopkgtest
Package: node-supports-color
Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
-Description: Detect whether a terminal supports color - Node.js module
+Depends: ${misc:Depends},
+ nodejs
+Description: Detect whether a terminal supports color in Node.js
supports-color is a Node.js module which provides an API to detect whether a
terminal supports color.
.
Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
index aa676b2..564d8ba 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,14 +1,15 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: supports-color
-Upstream-Contact: https://github.com/sindresorhus/supports-color/issues
+Upstream-Contact: Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
Source: https://github.com/sindresorhus/supports-color
Files: *
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
+Copyright: Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
License: Expat
Files: debian/*
-Copyright: 2014 Andrew Kelley <superjoe30 at gmail.com>
+Copyright: 2014, Andrew Kelley <superjoe30 at gmail.com>
+ 2015, Bas Couwenberg <sebastic at debian.org>
License: Expat
License: Expat
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/install b/debian/install
index 1f5c4f9..444f398 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
package.json usr/lib/nodejs/supports-color/
-index.js usr/lib/nodejs/supports-color/
+index.js usr/lib/nodejs/supports-color/
+cli.js usr/lib/nodejs/supports-color/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..92e9520
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/supports-color/cli.js usr/bin/supports-color
diff --git a/debian/patches/nodejs.patch b/debian/patches/nodejs.patch
new file mode 100644
index 0000000..420a3bf
--- /dev/null
+++ b/debian/patches/nodejs.patch
@@ -0,0 +1,12 @@
+Description: Switch NodeJS command from node (upstream) to nodejs (Debian).
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/cli.js
++++ b/cli.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/nodejs
+ 'use strict';
+ var pkg = require('./package.json');
+ var supportsColor = require('./');
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..81a5e8e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+nodejs.patch
diff --git a/debian/rules b/debian/rules
index d1b1f99..2f97d3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,7 @@
%:
dh $@
-#override_dh_auto_build:
-
-override_dh_auto_test:
- mocha
-
+# Tests need required-uncached which is not packaged yet
+#override_dh_auto_test:
+# mocha
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d2ba6ac
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/sindresorhus/supports-color/issues
+Bug-Submit: https://github.com/sindresorhus/supports-color/issues/new
+Name: supports-color
+Repository: https://github.com/sindresorhus/supports-color.git
+Repository-Browse: https://github.com/sindresorhus/supports-color
diff --git a/debian/watch b/debian/watch
index 400d4e6..52cf1c9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
version=3
opts=\
-dversionmangle=s/\?(debian|dfsg|ds|deb)\d*$//,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-supports-color-$1.tar.gz/ \
- https://github.com/sindresorhus/supports-color/tags .*/archive/v?([\d\.]+).tar.gz
+https://github.com/sindresorhus/supports-color/tags \
+.*/archive/v?([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-supports-color.git
More information about the Pkg-javascript-commits
mailing list