summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 13:05:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-24 13:05:57 +0000
commit43c5ad834930b1826f5af0112ca3b6606692e5b0 (patch)
tree2caba1b4d471cc950f2d07dfbc9e86b5e308cc54 /debian
parentReleasing debian version 2020.1+dfsg-5. (diff)
downloadpytzdata-43c5ad834930b1826f5af0112ca3b6606692e5b0.tar.xz
pytzdata-43c5ad834930b1826f5af0112ca3b6606692e5b0.zip
Updating watch file.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/watch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index d546b3f..8341598 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%" \
-https://github.com/sdispater/pytzdata/tags \
-(?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
+opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/pytzdata-$1\.tar\.gz/, \
+ uversionmangle=s/(\d)\-?((alpha|beta)\d*)$/$1~$2/, \
+ dversionmangle=s/\+dfsg//" \
+https://github.com/sdispater/pytzdata/tags .*/v?(\d\S+)\.tar\.gz