[python-osmapi] 06/07: Update filenamemangle in watch file to handle other tar extensions.

Bas Couwenberg sebastic at debian.org
Wed Dec 7 18:32:07 UTC 2016


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

sebastic pushed a commit to branch master
in repository python-osmapi.

commit c395d4a44c0366b6ccc5a6b518267a4f1a48986f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Dec 7 19:25:02 2016 +0100

    Update filenamemangle in watch file to handle other tar extensions.
---
 debian/changelog | 1 +
 debian/watch     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3f6544c..74250d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ python-osmapi (0.7.0-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Add python{,3}-requests to build dependencies.
   * Add test_ChangesetDownloadContainingUnicode.xml to ODbL licensed files.
+  * Update filenamemangle in watch file to handle other tar extensions.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 07 Dec 2016 19:19:28 +0100
 
diff --git a/debian/watch b/debian/watch
index eaff720..80bdb8a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,6 +2,6 @@ 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/osmapi-$1.tar.gz/ \
+filenamemangle=s/(?:.*?)?(?:rel|v|osmapi)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/osmapi-$1.$2/ \
 https://github.com/metaodi/osmapi/releases \
-(?:.*/)*(?:rel|v|osmapi|)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+(?:.*/)*(?:rel|v|osmapi)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list