Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17312

Re: Use Pypi template in debian/watch files

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: Use Pypi template in debian/watch files
Date Thu, 01 Jan 2026 13:20:02 +0100
Message-ID <M8pOO-7ger-3@gated-at.bofh.it> (permalink)
References <M5hXr-59Uc-3@gated-at.bofh.it>
X-Original-To Manuel Guerra <ar.manuelguerra@gmail.com>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 1 12:16:14 2026
Old-Return-Path <alexandre.detiste@gmail.com>
X-Amavis-Spam-Status No, score=-8.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 IX_MANITU=ERR(0) CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wr1-x42b.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOJu0Yzy6AWstIA+0xfF+xpEtI1mItz/KeF1+C5MkqaslwDfFDdyOJsz E83lYc4/TxSziCkhuDcU16GjOW52UH44vxtrbMfIyTEncI+5/Du3zF4TBBGzqEevjXoEQ0OpEgp pZSnOblkCY1c7+pwMIX5ZGa9URsksCgm68LDo
X-Gm-Gg AY/fxX7EzuNFkU2Zla7AciMHLHLBwawuOmhMSDg66+1qQvlz4YQjQEpNY9HdtmAzhZD R2XQbdw+Gu6kZhBOzi8VObgb57R2yxZdVwkST9y3cqgFWcg0LshDgcAf0ERKQjHDunfTj4YT81D TMKm7MbLO+kwyrRbbQ/0AUrB9INNZ1jo7Jl/C8z/rY9CmWaZxolIIbSo7cz9AFeWGqx5NptPf8c m0pSirwLdyQS6s2Nm254rTsJD8LCLBYgdvzOd8QzBJys9wZ0hOntI2ixD+AstWauUq0XEAnCXvz q5Mg7brGcm6YzRkk6SIR2QjXoA==
X-Google-SMTP-Source AGHT+IHBXzNHDamGYSrcBej0so4ZEJnnQppF4RW2vIvgmJYKGNZTxvufr/3HhxRuPjzCRbPc75ed8oqOOSenYtsd7Pk=
X-Received by 2002:a05:6000:2909:b0:430:f97a:6f43 with SMTP id ffacd0b85a97d-4324e709710mr59020936f8f.53.1767269750080; Thu, 01 Jan 2026 04:15:50 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AQt7F2ofznteoUapsnSFj8qVzYDyudWFPPL73KqoSpBKpHDWsVVXnToCEmfoZGc
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/23555
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CADsTwjLDHoLmC+f3J+B1ca+is9v-OFDkMsX=7WPgTnurXn8_sQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 64
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>
X-Original-Date Thu, 1 Jan 2026 13:15:39 +0100
X-Original-Message-ID <CADsTwjLDHoLmC+f3J+B1ca+is9v-OFDkMsX=7WPgTnurXn8_sQ@mail.gmail.com>
X-Original-References <ff7e5f81-7999-4513-acd9-5c351330f21c@gmail.com>
Xref csiph.com linux.debian.maint.python:17312

Show key headers only | View raw


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


Thread

Re: Use Pypi template in debian/watch files Alexandre Detiste <alexandre.detiste@gmail.com> - 2026-01-01 13:20 +0100

csiph-web