[pyevolve] 48/81: Rewrite versionmangling logic in watchfile
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository pyevolve.
commit d5af2b5c4ca815990dd44aee21e351bb71001520
Author: Christian Kastner <debian at kvr.at>
Date: Sat Apr 16 14:10:12 2011 +0200
Rewrite versionmangling logic in watchfile
---
debian/changelog | 3 +++
debian/watch | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4f35797..2d24af6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ pyevolve (0.6~rc1+svn398+dfsg-1) unstable; urgency=low
- Removed broken get-orig-source target. It will be re-implemented in the
next upload using a generic helper script, which is currently under
development
+ * debian/watch:
+ - Rewrote versionmangle logic. Release qualifiers (eg: "beta") are now
+ uversionmangle; tags such as +dfsg continue to be dversionmangled
* debian/README:
- Split into package-specific READMEs for python-pyevolve and
python-pyevolve-doc
diff --git a/debian/watch b/debian/watch
index 628ae61..21d15fb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,6 @@
version=3
-opts=dversionmangle=s/~//;s/~svn\d+//;s/\+dfsg$// \
+opts=\
+uversionmangle=s/([.0-9]+)(\D+)/$1~$2/,\
+dversionmangle=s/\+svn\d+//;s/\+dfsg$// \
http://sf.net/pyevolve/Pyevolve-(.+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git
More information about the debian-science-commits
mailing list