> On Feb 4, 2015, at 3:05 AM, Ben Finney <ben+deb...@benfinney.id.au> wrote: > > Tristan Seligmann <mithra...@mithrandi.net> writes: > >> The debian/watch file I wrote for python-nacl (which also verifies the >> PGP signature) seems to work. > > I can't get PGP signature retrieval to rowk (“uscan warning: > pgpsigurlmangle option exists, but the upstream keyring does not exist”) > even with your suggested pattern. > > But I have also written a working uscan configuration:: > > opts="filenamemangle=s/\S+\/([^\/]+\.tar\.gz)#md5=[[:alnum:]]+$/$1/" \ > https://pypi.python.org/simple/python-daemon/ \ > \S+/python-daemon-(\S+)\.tar\.gz#md5=[[:alnum:]]+ \ > debian > > > Barry Warsaw <ba...@debian.org> writes: > >> I'd love to be able to have something as simple as: >> >> version=3 >> https://pypi.python.org/simple/mypkg/mypkg-(.*).tar.gz >> >> which is close to what most packages probably use today, modulo the >> base url path. > > That would be great. But remember that the uscan documentation > recommends a tighter matching pattern, so that would be:: > > version=3 > https://pypi.python.org/simple/mypkg/mypkg-(.+).tar.gz > >> I filed a bug against pypa/warehouse so hopefully we can get something >> better before Jessie is released (which is when I think there will be >> more pressure for a better solution, since most packages won't be >> updated during the freeze). >> >> https://github.com/pypa/warehouse/issues/358 > > Thanks very much! > > I'm not a fan of having it live at “…/uscan/” though. This is not > specific to Debian, it's a sensible API design for all. >
If it gets implemented it'll live at /uscan/ because it exists primarily to work around the deficiencies that exist in uscan (Particularly the dificulty in ignoring url fragments). Everyone else should just use the URLs at /simple/ which most systems use with no problem because they can parse the URLs and ignore the URL fragments (or use them for verifying the hash if need be). --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/fa9f43c5-64c5-4cff-a972-30d162099...@stufft.io