jauhien / gs-pypi

g-sorcery backend for pypi packages
GNU General Public License v2.0
16 stars 5 forks source link

Wrong URLs #14

Open torrunes opened 6 years ago

torrunes commented 6 years ago

pypi.pyhton.org now requires https for download. The link produced in the ebuilds are using http, which means that downloading code when emerging now does not work.

Testing with wget to confirm problem:

wget http://pypi.python.org/packages/source/g/geographiclib/geographiclib-1.45.tar.gz

--2017-12-08 15:19:18-- http://pypi.python.org/packages/source/g/geographiclib/geographiclib-1.45.tar.gz
Slår opp vertsnavn pypi.python.org (pypi.python.org) … 151.101.0.223, 151.101.64.223, 151.101.128.223, ...
Kobler til pypi.python.org (pypi.python.org)|151.101.0.223|:80 …tilkoblet.
HTTP-forespørsel sendt. Venter på svar … 403 SSL is required
2017-12-08 15:19:18 PROGRAMFEIL 403: SSL is required.

wget https://pypi.python.org/packages/source/g/geographiclib/geographiclib-1.45.tar.gz

--2017-12-08 15:19:26-- https://pypi.python.org/packages/source/g/geographiclib/geographiclib-1.45.tar.gz
Slår opp vertsnavn pypi.python.org (pypi.python.org) … 151.101.0.223, 151.101.64.223, 151.101.128.223, ...
Kobler til pypi.python.org (pypi.python.org)|151.101.0.223|:443 …tilkoblet.
HTTP-forespørsel sendt. Venter på svar … 200 OK
Lengde: 28859 (28K) [application/octet-stream]
Lagrer til: «geographiclib-1.45.tar.gz»

geographiclib-1.45.tar.gz 100%[=======================================================

2017-12-08 15:19:27 (930 KB/s) - «geographiclib-1.45.tar.gz» lagret [28859/28859]

#

azahi commented 6 years ago

This should be sufficient to allow downloading over HTTPS

15