[proj4js] 05/07: Update watch file to handle more tar extensions in filenamemangle.
Bas Couwenberg
sebastic at debian.org
Mon Aug 22 06:02:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository proj4js.
commit bd87e806c0290462d96eecf116b374de860bb2df
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 22 07:50:32 2016 +0200
Update watch file to handle more tar extensions in filenamemangle.
---
debian/changelog | 1 +
debian/watch | 11 ++++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1170067..c599d82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ proj4js (2.3.15+ds-1) UNRELEASED; urgency=medium
* New upstream release.
* Bump Standards-Version to 3.9.8, no changes.
+ * Update watch file to handle more tar extensions in filenamemangle.
-- Bas Couwenberg <sebastic at debian.org> Mon, 22 Aug 2016 07:46:45 +0200
diff --git a/debian/watch b/debian/watch
index 93a15c5..8b2c51a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,8 @@
version=3
-opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/proj4js-$1.tar.gz/,\
-repacksuffix=+ds" \
+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|proj4js)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/proj4js-$1.$2/,\
+repacksuffix=+ds \
https://github.com/proj4js/proj4js/releases \
-(?:.*/)*(?:rel|v|proj4js|)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+(?:.*?/)?(?:rel|v|proj4js)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj4js.git
More information about the Pkg-grass-devel
mailing list