[Python-modules-commits] [django-cors-headers] 01/05: Update debian/watch to use github source

Brian May bam at moszumanska.debian.org
Wed Jul 5 22:27:31 UTC 2017


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

bam pushed a commit to branch debian/master
in repository django-cors-headers.

commit 2a7f37fba1e4166a1082c27000096c1b58964fc3
Author: Brian May <bam at debian.org>
Date:   Wed Jul 5 22:10:11 2017 +1000

    Update debian/watch to use github source
    
    Github source has extra files, such as tests
---
 debian/watch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index 6577cca..d0f8405 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-http://pypi.debian.net/django-cors-headers/django-cors-headers-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/django-cors-headers-$1\.tar\.gz/ \
+  https://github.com/ottoyiu/django-cors-headers/tags .*/v?(\d\S+)\.tar\.gz

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



More information about the Python-modules-commits mailing list