pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
textproc/py-jinja2 can't fetch from HTTPS
Hello.
I tried to build and install textproc/py-jinja2 from the current branch
on Darwin, but it failed to download the distfile because the
MASTER_SITES URL redirects from HTTP to HTTPS, and none of the other
mirrors had the file available, and the ftp program doesn't support
HTTPS.
Here's the failure output:
===
=> Fetching Jinja2-2.7.1.tar.gz
=> Total size: 377813 bytes
Trying 199.27.75.185...
Requesting
http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.1.tar.gz
Redirected to
https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.1.tar.gz
ftp: Can't lookup `https': nodename nor servname provided, or not known
ftp: Can't connect or login to host `https'
fetch: Unable to fetch expected file Jinja2-2.7.1.tar.gz
[snip: tries mirrors without success]
fetch: Unable to fetch expected file Jinja2-2.7.1.tar.gz
*** Error code 1
Stop.
bmake: stopped in /pkgsrc/textproc/py-jinja2
===
I overcame this by adding "FETCH_USING= curl" to mk.conf. However,
maybe the Makefile should have the MASTER_SITES URL switched to the
HTTPS URL and "FETCH_USING= curl" added to it?
Thanks,
Lewis
Home |
Main Index |
Thread Index |
Old Index