On Sun, Apr 24, 2016 at 05:33:52PM +0100, Edd Barrett wrote:
> Here's a thread discussing the change:
> https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package

This thread has just concluded with a fix from the PyPI devs. They
implemented a "legacy" URL which we could use. It uses a HTTP 301 to
redirect to a URL under the new scheme.

The diff would look like this. It works for my newly created texscythe
distfile and for the few ports I tried a 'make fetch' in.


Index: network.conf.template
===================================================================
RCS file: 
/home/edd/cvsync/ports/infrastructure/templates/network.conf.template,v
retrieving revision 1.203
diff -u -p -r1.203 network.conf.template
--- network.conf.template       10 Jan 2016 22:31:40 -0000      1.203
+++ network.conf.template       24 Apr 2016 20:55:11 -0000
@@ -207,7 +207,7 @@ MASTER_SITE_APACHE+= \
        http://www.apache.org/dist/
 
 MASTER_SITE_PYPI +=    \
-       https://pypi.python.org/packages/source/
+       https://pypi.io/packages/source/
 
 MASTER_SITE_RUBYGEMS += \
        https://rubygems.org/downloads/


-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to