Bug#851590: uscan: PyPI packages location has changed, example needs update
Osamu Aoki
rx788473 at tc4.so-net.ne.jp
Thu Jan 19 16:03:24 UTC 2017
Hi,
On Mon, Jan 16, 2017 at 12:12:04PM -0500, Sandro Tosi wrote:
> Package: devscripts
> Version: 2.17.0
> Severity: normal
>
> Hello,
> the pypi source packages now are stored in a hash tree URI:
>
> https://pypi.python.org/packages/b7/9d/8209e555ea5eb8209855b6c9e60ea80119dab5eff5564330b35aa5dc4b2c/numpy-1.12.0.zip
>
> so the example in the manpage needs updating. i got it working for numpy with:
>
> version=4
> opts="pgpmode=none" \
> https://pypi.python.org/pypi/numpy/ \
> https://pypi.python.org/packages/.*/.*/.*/numpy-([\d\.]+).zip#.* debian uupdate
>
> (the zip could be replaced with a more complete \.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
>
Is this robust solution? ... let me think ... Yes, it is a good one.
It has PGP sig so maybe addressing it may be also good idea.
Osamu
More information about the devscripts-devel
mailing list