[totalopenstation] 02/02: Update watch file.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat May 2 20:40:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository totalopenstation.
commit 65ed4086918dedc0399a8b229aa24dba91511063
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat May 2 22:39:43 2015 +0200
Update watch file.
Changes:
- Use pypi.debian.net instead of broken pypi.python.org
- Add common debian version mangling
- Update upstream version mangling to support more pre and dev variants.
---
debian/changelog | 5 +++++
debian/watch | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2645211..8693544 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,11 @@ totalopenstation (0.3-5) UNRELEASED; urgency=medium
* Team upload.
* Update Vcs-Browser URL to use cgit instead of gitweb.
+ * Update watch file, changes:
+ - Use pypi.debian.net instead of broken pypi.python.org
+ - Add common debian version mangling
+ - Update upstream version mangling to support more pre and dev variants.
+ (closes: #784076)
-- Bas Couwenberg <sebastic at debian.org> Sat, 02 May 2015 22:16:02 +0200
diff --git a/debian/watch b/debian/watch
index 932f6c5..eae42a9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=3
-opts=uversionmangle=s/^((?:\d+\.)*\d+)(pre-[0-9a-f]+(?:-dev)?$)/$1~$2/ \
-https://pypi.python.org/packages/source/t/totalopenstation/ \
-(?:.*/|.*=|)totalopenstation[\-\._](\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)(?:/\S*)?
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/^((?:\d+\.)*\d+)((?:pre|dev)-?[0-9a-f]*(?:-dev)?$)/$1~$2/ \
+http://pypi.debian.net/totalopenstation/totalopenstation-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/totalopenstation.git
More information about the Pkg-grass-devel
mailing list