[python-shapely] 141/148: Mangle version in watch file
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Thu Aug 20 17:42:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-shapely.
commit 6650a07c61b29a1d8f731b0af67af802ab50cb9b
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Fri Jun 26 15:18:08 2015 +0200
Mangle version in watch file
Makes sure rc/... versions are not more recent than final releases.
---
debian/watch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/watch b/debian/watch
index d812161..0045060 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/Shapely-$1\.tar\.gz/ \
- https://github.com/Toblerity/Shapely/releases .*/v?(\d\S*)\.tar\.gz
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/Shapely-$1\.tar\.gz/ \
+https://github.com/Toblerity/Shapely/releases .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git
More information about the Pkg-grass-devel
mailing list