Re: Use Pypi template in debian/watch files
Alexandre Detiste <[email protected]> Thu, 1 Jan 2026 13:15:39 +0100
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <CADsTwjLDHoLmC+f3J+B1ca+is9v-OFDkMsX=7WPgTnurXn8_sQ@mail.gmail.com> |
Thank you very much. I spotted a regression with this one package. The expected file name should be mangled to be all lowercase and replace '-' with '_' https://pypi.debian.net/PyMsgBox/ debian/watch b/debian/watch index 9e67239..91e9f71 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,4 @@ -# please also check http://pypi.debian.net/PyMsgBox/watch -version=4 -opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -http://pypi.debian.net/PyMsgBox/[Pp]y[Mm]sg[Bb]ox-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +Version: 5 + +Template: Pypi +Dist: PyMsgBox Le mar. 23 déc. 2025 à 17:40, Manuel Guerra <[email protected]> a écrit : > > Starting with devscripts version 2.25.21, a template is available for > watching releases from pypi.org sources. > > This template is named Pypi and can be used as follows: > > For the "foo" package listed at https://pypi.org/project/foo/, the > method would be: > > Version: 5 > > Template: Pypi > Dist: foo > > This can be combined with other available devscripts tools such as: > > Version: 5 > > Template: Pypi > Dist: foo > Dversion-Mangle: auto > Version-Type: STABLE_VERSION > > This ensures that uscan only detects stable versions instead of beta > versions. > > For more information, see: > https://manpages.debian.org/unstable/devscripts/uscan-templates.5.en.html > https://manpages.debian.org/experimental/devscripts/debian-watch.5 > > -- > Manuel Guerra <[email protected]> > Debian Maintainer > 4096 bit RSA key ECA5016D963F871E5873CFC2E573B97D48F2E520 > keyserver: keyserver.ubuntu.com, keys.openpgp.org >