[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PyPI and debian/watch



On 4 February 2015 at 00:40, Barry Warsaw <barry@python.org> wrote:
> Unfortunately, I've not been able to get either the one described here:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776267#10
>
> or another one that came up in #debian-python to work.

The debian/watch file I wrote for python-nacl (which also verifies the
PGP signature) seems to work. It looks like this:

version=3
opts="pgpsigurlmangle=s/\#md5.*$/.asc/,filenamemangle=s|.*/(.*)\#md5.*$|$1|" \
 https://pypi.python.org/simple/PyNaCl/
.*/PyNaCl-(.*)\.(?:zip|tgz|tbz2|txz|tar\.(?:gz|bz2|xz)).*

It's a bit ugly, but it does work.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


Reply to: