Add filenamemangle to d/watch and space out content
authorAfif Elghraoui <afif@ghraoui.name>
Sat, 5 Mar 2016 21:34:52 +0000 (13:34 -0800)
committerAfif Elghraoui <afif@ghraoui.name>
Sat, 5 Mar 2016 21:39:13 +0000 (13:39 -0800)
debian/watch

index 0f2afd8a32f836db12318d30d1c74b99326fee2d..76b8db812b5cca9eb93f6176a95aaae9a2161779 100644 (file)
@@ -1,2 +1,5 @@
 version=3
-opts="repacksuffix=+ds,dversionmangle=s/\+ds//g" https://github.com/pysam-developers/pysam/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz
+
+opts="repacksuffix=+ds,dversionmangle=s/\+ds//g,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%python-pysam-$1.tar.gz%" \
+       https://github.com/pysam-developers/pysam/tags \
+       (?:.*/)?v?(\d[\d\.]*)\.tar\.gz