summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/watch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 37eaad6..327edf8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=4
-
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-https://pypi.debian.net/ruamel.yaml.clib/ruamel.yaml.clib-@ANY_VERSION@@ARCHIVE_EXT@
+opts="dversionmangle=auto" \
+https://pypi.python.org/packages/source/r/ruamel.yaml.clib/ \
+ ruamel.yaml.clib-@ANY_VERSION@@ARCHIVE_EXT@ \
+ debian debian/get-hg-version