[python-shapely] 01/10: Mangle version in watch file

Pietro Battiston toobaz-guest at moszumanska.debian.org
Sun Aug 23 08:52:20 UTC 2015


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

toobaz-guest pushed a commit to branch johandw
in repository python-shapely.

commit b11af1d05e928a25f2aa647ddbcf667afcb54783
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