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

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 20 22:49:07 UTC 2015


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

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

commit b26d6545feabe4b02796a0cb8adeff15c6338a7d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 20 23:44:49 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/rules             |  3 ---
 debian/upstream/metadata |  6 ++++++
 debian/watch             |  5 +++--
 8 files changed, 45 insertions(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0d460aa..d2e9fa4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
-node-ansi-regex (0.2.1-1) UNRELEASED; urgency=low
+node-ansi-regex (1.1.1-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #753275)
 
- -- Andrew Kelley <superjoe30 at gmail.com>  Sun, 29 Jun 2014 22:30:24 +0000
-
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 Mar 2015 22:01:18 +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 85730cc..8b53894 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,25 @@
 Source: node-ansi-regex
+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/ansi-regex
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs,
+               mocha
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-ansi-regex.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-ansi-regex.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-ansi-regex.git
+Homepage: https://github.com/sindresorhus/ansi-regex
 XS-Testsuite: autopkgtest
 
 Package: node-ansi-regex
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
-Description: Regular expression for matching ANSI escape codes - Node.js module
+Depends: ${misc:Depends},
+         nodejs
+Description: Regular expression for matching ANSI escape codes in Node.js
  ansi-regex is a Node.js module which provides a regular expression for
  matching ANSI escape codes.
  .
  Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
index bf37a84..2079de2 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: ansi-regex
-Upstream-Contact: https://github.com/sindresorhus/ansi-regex/issues
+Upstream-Contact: Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
 Source: https://github.com/sindresorhus/ansi-regex
 
 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/rules b/debian/rules
index d1b1f99..e5cfe00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,6 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
 override_dh_auto_test:
 	mocha
 
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..278e92d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/sindresorhus/ansi-regex/issues
+Bug-Submit: https://github.com/sindresorhus/ansi-regex/issues/new
+Name: ansi-regex
+Repository: https://github.com/sindresorhus/ansi-regex.git
+Repository-Browse: https://github.com/sindresorhus/ansi-regex
diff --git a/debian/watch b/debian/watch
index 160d196..9391c71 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-ansi-regex-$1.tar.gz/ \
- https://github.com/sindresorhus/ansi-regex/tags .*/archive/v?([\d\.]+).tar.gz
+https://github.com/sindresorhus/ansi-regex/tags \
+.*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list