diff options
author | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 20:37:26 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 20:37:26 +0200 |
commit | 01d1b0f317180ef645fce6277d3b814477a37ce6 (patch) | |
tree | 091c792a2782f55ab5f1f0c448c8a64e8f5d9b43 | |
parent | 83f74de649f312c1bac9d99d7d18810d30e4b93e (diff) |
New watch file for GH repo
-rw-r--r-- | debian/watch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch index 3089d60..e0d37a8 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ version=4 -opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -https://pypi.debian.net/cdsapi/cdsapi-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/ecmwf/cdsapi/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate |