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

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 20 21:09:02 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-styles.

commit 74fc4408215740f644ba2d6110e0beea56f4359b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 20 22:05:18 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 3e3d549..52caeb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
-node-ansi-styles (1.1.0-1) UNRELEASED; urgency=low
+node-ansi-styles (2.0.1-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #753254)
 
- -- Andrew Kelley <superjoe30 at gmail.com>  Sun, 29 Jun 2014 19:47:14 +0000
-
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 Mar 2015 22:01:09 +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 12579df..6041537 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,25 @@
 Source: node-ansi-styles
+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-styles
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs,
+               mocha
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-ansi-styles.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-ansi-styles.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-ansi-styles.git
+Homepage: https://github.com/sindresorhus/ansi-styles
 XS-Testsuite: autopkgtest
 
 Package: node-ansi-styles
 Architecture: all
-Depends:
- ${misc:Depends}
- , nodejs
-Description: ANSI escape codes for styling strings in the terminal - Node.js module
+Depends: ${misc:Depends},
+         nodejs
+Description: ANSI escape codes for styling strings in the terminal with Node.js
  ansi-styles is a Node.js module which provides ANSI escape codes for styling
  strings in the terminal.
  .
  Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
index b42de3c..f5dec87 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-styles
-Upstream-Contact: https://github.com/sindresorhus/ansi-styles/issues
+Upstream-Contact: Sindre Sorhus <sindresorhus at gmail.com> (http://sindresorhus.com)
 Source: https://github.com/sindresorhus/ansi-styles
 
 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..df87e60
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/sindresorhus/ansi-styles/issues
+Bug-Submit: https://github.com/sindresorhus/ansi-styles/issues/new
+Name: ansi-styles
+Repository: https://github.com/sindresorhus/ansi-styles.git
+Repository-Browse: https://github.com/sindresorhus/ansi-styles
diff --git a/debian/watch b/debian/watch
index 1c7f87c..43c8c42 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-styles-$1.tar.gz/ \
- https://github.com/sindresorhus/ansi-styles/tags .*/archive/v?([\d\.]+).tar.gz
+https://github.com/sindresorhus/ansi-styles/tags \
+.*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list