[pyorbital] 01/01: Update watch file to handle common issues.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 21 17:13:58 UTC 2016


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

sebastic pushed a commit to branch master
in repository pyorbital.

commit 8961f7eebbdc234f4c5ec847702c81001e5bbd70
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 21 16:55:53 2016 +0100

    Update watch file to handle common issues.
---
 debian/changelog |  4 ++++
 debian/watch     | 10 ++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7d2ecd5..bfd86ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
 pyorbital (1.0.1-1) unstable; urgency=medium
 
+  [ Antonio Valentino ]
   * New upstream version
   * Remove 0002-relax-astronomy-test-condition.patch applied upstream
   * Switch to pybuild build system
 
+  [ Bas Couwenberg ]
+  * Update watch file to handle common issues.
+
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 21 Feb 2016 10:38:39 +0000
 
 pyorbital (1.0.0-1) unstable; urgency=medium
diff --git a/debian/watch b/debian/watch
index 8b4fe24..e65f160 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,7 @@
-# Compulsory line, this is a version 3 file
 version=3
-
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/pyorbital-$1\.tar\.gz/ \
-  https://github.com/pytroll/pyorbital/tags .*/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|pyorbital)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pyorbital-$1.$2/ \
+https://github.com/pytroll/pyorbital/releases \
+(?:.*?/)?(?:rel|v|pyorbital)?[\-\_]?(\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/pyorbital.git



More information about the Pkg-grass-devel mailing list