[pyshp] 02/06: Fix watchfile using pypi redirector & future proof with mangles

Ross Gammon ross-guest at moszumanska.debian.org
Sun May 3 10:23:44 UTC 2015


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

ross-guest pushed a commit to branch master
in repository pyshp.

commit ed65f81f3db81be66bbb5754b33d1d3dad249e7d
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sun May 3 10:23:51 2015 +0200

    Fix watchfile using pypi redirector & future proof with mangles
---
 debian/watch | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 4ed84e4..3436573 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,5 @@
 version=3
-http://pypi.python.org/packages/source/p/pyshp/pyshp-(\d+.*)\.zip
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/^((?:\d+\.)*\d+)((?:pre|dev)-?[0-9a-f]*(?:-dev)?$)/$1~$2/ \
+http://pypi.debian.net/pyshp/pyshp-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyshp.git



More information about the Pkg-grass-devel mailing list