[pyfftw] 01/02: d/watch: use better regex

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Sep 22 14:09:45 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository pyfftw.

commit c81157af03b6ef6236c0f64e55ed30977fe44f63
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Sep 22 14:57:56 2015 +0100

    d/watch: use better regex
    
    From: https://wiki.debian.org/Python/LibraryStyleGuide
    As suggested by Gianfranco Costamagna in Bug#799770
---
 debian/watch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/watch b/debian/watch
index edd19d0..f82b53d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
-opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \
-http://pypi.debian.net/pyFFTW/ \
-pyFFTW-(.+)\.tar\.(?:gz|bz2|xz)
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/pyFFTW/pyFFTW-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfftw.git



More information about the debian-science-commits mailing list