[python-astropy] 03/04: Adjust watch files for prerelease

Ole Streicher olebole-guest at moszumanska.debian.org
Mon Jul 7 14:56:58 UTC 2014


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

olebole-guest pushed a commit to branch debian
in repository python-astropy.

commit dc7ae118c449ea0985111715b7c2cce8e352de93
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Jul 7 16:09:18 2014 +0200

    Adjust watch files for prerelease
---
 debian/changelog | 1 +
 debian/watch     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 19a3678..1c568a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-astropy (0.4~rc1-1) experimental; urgency=low
 
   * New upstream prerelease
+  * Adjust watch file for prerelease
 
  -- Ole Streicher <debian at liska.ath.cx>  Mon, 07 Jul 2014 16:07:05 +0200
 
diff --git a/debian/watch b/debian/watch
index aba2ec5..0718e66 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 # watch control file for uscan
 version=3
-http://pypi.python.org/packages/source/a/astropy/astropy-([0-9].*)\.tar\.gz debian uupdate
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+http://pypi.python.org/packages/source/a/astropy/astropy-([0-9].*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the debian-science-commits mailing list