[Git][debian-gis-team/pyepr][master] Update watch file to handle common issues.
Bas Couwenberg
gitlab at salsa.debian.org
Wed Aug 15 18:08:56 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / pyepr
Commits:
651feb80 by Bas Couwenberg at 2018-08-15T17:08:50Z
Update watch file to handle common issues.
- - - - -
2 changed files:
- debian/changelog
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyepr (0.9.4-3) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.2.0, no changes.
* Update watch file to use releases instead of tags.
+ * Update watch file to handle common issues.
-- Bas Couwenberg <sebastic at debian.org> Sun, 05 Aug 2018 20:46:58 +0200
=====================================
debian/watch
=====================================
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,8 @@
# Compulsory line, this is a version 3 file
version=3
-
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/pyepr-$1\.tar\.gz/ \
- https://github.com/avalentino/pyepr/releases .*/v?(\d\S*)\.tar\.gz
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|pyepr)?[\-\_]?(\d\S*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pyepr-$1.$2/ \
+https://github.com/avalentino/pyepr/releases \
+(?:.*?/archive/)?(?:rel|v|pyepr)?[\-\_]?(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyepr/commit/651feb80f1b9f7912b75f2451895a1787fe1615a
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyepr/commit/651feb80f1b9f7912b75f2451895a1787fe1615a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180815/84a4df9c/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list