[spyder] 03/04: Fix and simplify the watch file

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Nov 4 16:33:57 UTC 2017


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

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

commit a0917028c67bc8179f42eaa06f529e871856cdc3
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Oct 31 11:22:08 2017 +0000

    Fix and simplify the watch file
    
    - Fix the dversionmangle regex
    - Use the PACKAGE placeholder
    
    Gbp-Dch: Full
---
 debian/watch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index 0290859..84899af 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=4
 opts=repacksuffix=+dfsg1,\
-dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+dversionmangle=s/\+dfsg(\.?\d+)?$//,\
 uversionmangle=s/(rc|a|b|c)/~$1/ \
-https://pypi.debian.net/spyder/spyder@ANY_VERSION@@ARCHIVE_EXT@
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@

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



More information about the debian-science-commits mailing list