[Pkg-javascript-commits] [node-chalk] 03/03: Update packaging for new upstream release.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 20 20:54:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository node-chalk.

commit bd7c67b2642acb65681247e2641768a5e732a62f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 20 20:57:43 2015 +0100

    Update packaging for new upstream release.
---
 debian/changelog         |  4 ++--
 debian/compat            |  2 +-
 debian/control           | 31 +++++++++++++++++--------------
 debian/copyright         | 31 ++++---------------------------
 debian/gbp.conf          | 16 ++++++++++++++++
 debian/install           | 14 +-------------
 debian/rules             |  4 ----
 debian/tests/control     |  4 ++--
 debian/tests/require     |  3 +++
 debian/upstream/metadata |  6 ++++++
 debian/watch             | 45 ++-------------------------------------------
 11 files changed, 54 insertions(+), 106 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 12ec6d0..bf53f62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-chalk (0.5.1-1) UNRELEASED; urgency=low
+node-chalk (1.0.0-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #753410)
 
- -- Andrew Kelley <superjoe30 at gmail.com>  Mon, 28 Jul 2014 16:26:26 +0000
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 Mar 2015 22:00:15 +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 f641cc6..c4b69fc 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,29 @@
 Source: node-chalk
+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
- , nodejs
- , semver
-Standards-Version: 3.9.5
-Homepage: https://github.com/sindresorhus/chalk
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-chalk.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-chalk.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-chalk.git
+Homepage: https://github.com/sindresorhus/chalk
 XS-Testsuite: autopkgtest
 
 Package: node-chalk
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
-Description: Terminal string styling - Node.js module
+Depends: ${misc:Depends},
+         nodejs,
+         node-ansi-styles (>= 2.0.1),
+         node-escape-string-regexp (>= 1.0.2),
+         node-has-ansi (>= 1.0.3),
+         node-strip-ansi (>= 2.0.1),
+         node-supports-color (>= 1.3.0)
+Description: Terminal string styling for Node.js
  Chalk is a Node.js module which provides string styling via ANSI escape codes
  without extending String.prototype.
  .
  Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
index 0e34441..dc91fcd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,38 +1,15 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: chalk
-Upstream-Contact: https://github.com/sindresorhus/chalk/issues
+Upstream-Contact: Sindre Sorhus <sindresorhus at gmail.com>
 Source: https://github.com/sindresorhus/chalk
 
 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>
-License: Expat
-
-Files: node_modules/ansi-styles/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
-License: Expat
-
-Files: node_modules/strip-ansi/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
-License: Expat
-
-Files: node_modules/escape-string-regexp/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
-License: Expat
-
-Files: node_modules/has-ansi/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
-License: Expat
-
-Files: node_modules/supports-color/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
-License: Expat
-
-Files: node_modules/ansi-regex/*
-Copyright: 2014 Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
+Copyright: 2014, Andrew Kelley <superjoe30 at gmail.com>
+           2015, Bas Couwenberg <sebastic at xs4all.nl>
 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 4ddc0bb..d6a5e29 100644
--- a/debian/install
+++ b/debian/install
@@ -1,14 +1,2 @@
 package.json usr/lib/nodejs/chalk/
-index.js usr/lib/nodejs/chalk/
-node_modules/ansi-regex/index.js usr/lib/nodejs/chalk/node_modules/ansi-regex/
-node_modules/ansi-regex/package.json usr/lib/nodejs/chalk/node_modules/ansi-regex/
-node_modules/has-ansi/index.js usr/lib/nodejs/chalk/node_modules/has-ansi/
-node_modules/has-ansi/package.json usr/lib/nodejs/chalk/node_modules/has-ansi/
-node_modules/ansi-styles/index.js usr/lib/nodejs/chalk/node_modules/ansi-styles/
-node_modules/ansi-styles/package.json usr/lib/nodejs/chalk/node_modules/ansi-styles/
-node_modules/strip-ansi/index.js usr/lib/nodejs/chalk/node_modules/strip-ansi/
-node_modules/strip-ansi/package.json usr/lib/nodejs/chalk/node_modules/strip-ansi/
-node_modules/escape-string-regexp/index.js usr/lib/nodejs/chalk/node_modules/escape-string-regexp/
-node_modules/escape-string-regexp/package.json usr/lib/nodejs/chalk/node_modules/escape-string-regexp/
-node_modules/supports-color/index.js usr/lib/nodejs/chalk/node_modules/supports-color/
-node_modules/supports-color/package.json usr/lib/nodejs/chalk/node_modules/supports-color/
+index.js     usr/lib/nodejs/chalk/
diff --git a/debian/rules b/debian/rules
index 5166a1e..0c06312 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,3 @@
 %:
 	dh $@
 
-get-orig-source:
-	uscan
-
-
diff --git a/debian/tests/control b/debian/tests/control
index f8f6345..b962bf6 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
-Test-Command: nodejs -e "require('"'"'chalk'"'"');"
-Depends: @
+Tests: require
+Depends: node-chalk
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..66c102e
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('chalk');"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5b32a5a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/sindresorhus/chalk/issues
+Bug-Submit: https://github.com/sindresorhus/chalk/issues/new
+Name: chalk
+Repository: https://github.com/sindresorhus/chalk.git
+Repository-Browse: https://github.com/sindresorhus/chalk
diff --git a/debian/watch b/debian/watch
index 481f85a..0fba89c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,47 +1,6 @@
-# versions of components are fixed in the filename pattern version delimiters
-# they *must* be set to the versions upstream depends on, or else there is no
-# meaning in that bundle. Occasional bug fixes *must* be made by using patches,
-# not by updating a module outside an upstream update.
-
 version=3
 opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/ansi-styles-$1.tar.gz/ \
- https://github.com/sindresorhus/ansi-styles/tags .*/archive/v?(1.1.0).tar.gz \
- debian ./debian/mkorig node_modules/ansi-styles
-
-opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/escape-string-regexp-$1.tar.gz/ \
- https://github.com/sindresorhus/escape-string-regexp/tags .*/archive/v?(1.0.1).tar.gz \
- debian ./debian/mkorig node_modules/escape-string-regexp
-
-opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/has-ansi-$1.tar.gz/ \
- https://github.com/sindresorhus/has-ansi/tags .*/archive/v?(0.1.0).tar.gz \
- debian ./debian/mkorig node_modules/has-ansi
-
-opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/strip-ansi-$1.tar.gz/ \
- https://github.com/sindresorhus/strip-ansi/tags .*/archive/v?(1.0.0).tar.gz \
- debian ./debian/mkorig node_modules/strip-ansi
-
-opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/ansi-regex-$1.tar.gz/ \
- https://github.com/sindresorhus/ansi-regex/tags .*/archive/v?(0.2.1).tar.gz \
- debian ./debian/mkorig node_modules/ansi-regex
-
-opts=\
-dversionmangle=s/.*/0/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/supports-color-$1.tar.gz/ \
- https://github.com/sindresorhus/supports-color/tags .*/archive/v?(0.2.0).tar.gz \
- debian ./debian/mkorig node_modules/supports-color
-
-opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
 filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-chalk-$1.tar.gz/ \
- https://github.com/sindresorhus/chalk/tags .*/archive/v?([\d\.]+).tar.gz \
- debian ./debian/mkorig
+https://github.com/sindresorhus/chalk/tags \
+.*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list