[netcdf4-python] 01/10: Update watch file to use GitHub releases.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 20 15:59:43 UTC 2015


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

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

commit 4d219eeb23345d8b35717f815ff4abd28d4bcfab
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 20 15:40:20 2015 +0100

    Update watch file to use GitHub releases.
---
 debian/watch | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/watch b/debian/watch
index ddb2634..1e380e7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,6 @@
 version=3
-
-#opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/netcdf4-python-$1\.tar\.gz/ \
-#  https://github.com/Unidata/netcdf4-python/tags .*/v?(\d\S*)rel\.tar\.gz
-
-https://pypi.python.org/pypi/netCDF4 \
-  https://pypi.python.org/packages/source/n/netCDF4/netCDF4-(.+)\.tar\.gz
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)rel$/$1/g;s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|gamma|beta|alpha|b|a)[\-\.]?(\d*))$/$1~$3$4/,\
+filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.tar\.gz/netcdf4-python-$1.tar.gz/" \
+https://github.com/Unidata/netcdf4-python/releases \
+(?:.*/)*(?:rel|v|r|netcdf4-python|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list