[Python-modules-commits] [django-prometheus] 09/10: Change the watch file to use GitHub

Christopher Baines cbaines-guest at moszumanska.debian.org
Sun Feb 28 01:59:57 UTC 2016


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

cbaines-guest pushed a commit to branch master
in repository django-prometheus.

commit 25aa144a0024988e83716cea012d7b1522e10e24
Author: Christopher Baines <mail at cbaines.net>
Date:   Sun Feb 28 01:50:20 2016 +0000

    Change the watch file to use GitHub
    
    As the tarball from PyPI does not include the LICENSE file.
---
 debian/watch | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/watch b/debian/watch
index 9a20121..4b5fa35 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
-# please also check http://pypi.debian.net/django-prometheus/watch
 version=3
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-http://pypi.debian.net/django-prometheus/django-prometheus-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/django-prometheus-$1\.tar\.gz/ \
+  https://github.com/korfuri/django-prometheus/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-prometheus.git



More information about the Python-modules-commits mailing list