Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17312
| From | Alexandre Detiste <alexandre.detiste@gmail.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Use Pypi template in debian/watch files |
| Date | 2026-01-01 13:20 +0100 |
| Message-ID | <M8pOO-7ger-3@gated-at.bofh.it> (permalink) |
| References | <M5hXr-59Uc-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <ar.manuelguerra@gmail.com> 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 <ar.manuelguerra@gmail.com> > Debian Maintainer > 4096 bit RSA key ECA5016D963F871E5873CFC2E573B97D48F2E520 > keyserver: keyserver.ubuntu.com, keys.openpgp.org >
Back to linux.debian.maint.python | Previous | Next | Find similar
Re: Use Pypi template in debian/watch files Alexandre Detiste <alexandre.detiste@gmail.com> - 2026-01-01 13:20 +0100
csiph-web