[netcdf] 02/03: Update watch file to use GitHub releases.

Bas Couwenberg sebastic at xs4all.nl
Thu Jan 15 19:33:00 UTC 2015


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

sebastic-guest pushed a commit to branch split-c-f-cxx
in repository netcdf.

commit 594559f69fc0492a730e013cccdbc997adaa9c25
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jan 15 20:30:51 2015 +0100

    Update watch file to use GitHub releases.
---
 debian/changelog | 4 ++++
 debian/watch     | 9 ++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0f30267..1d5e69c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 netcdf (1:4.3.3~rc3-1) UNRELEASED; urgency=medium
 
+  [ Nico Schlömer ]
   * Upgrade to 4.3.3-rc3 (C-only)
     (Closes: #735075)
   * Switch to CMake build
@@ -10,6 +11,9 @@ netcdf (1:4.3.3~rc3-1) UNRELEASED; urgency=medium
      - proper doc installation
      - parallel/serial builds
 
+  [ Bas Couwenberg ]
+  * Update watch file to use GitHub releases.
+
  -- Nico Schlömer <nico.schloemer at gmail.com>  Mon, 12 May 2014 14:27:06 +0200
 
 netcdf (1:4.1.3-7) unstable; urgency=low
diff --git a/debian/watch b/debian/watch
index 8b5f193..4a4d2a0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,7 @@
 version=3
-#opts="uversionmangle=s/^[[:digit:]]*\.[[:digit:]]*-beta[[:digit:]]*/0.0.1/" \
-ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-([[:digit:]\.]*)\.tar\.gz debian uupdate
-
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=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/netcdf-c-$1.tar.gz/" \
+https://github.com/Unidata/netcdf-c/releases \
+(?:.*/)*(?:rel|v|r|netcdf-c|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \
+debian uupdate

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



More information about the Pkg-grass-devel mailing list