HomeFreeBSD

Mk/bsd.sites.mk: Remove non-PEP449 Python mirrors [Part III]

Description

Mk/bsd.sites.mk: Remove non-PEP449 Python mirrors [Part III]

PEP-449 [1] describes the 'Removal of the PyPI Mirror Auto Discovery and
Naming Scheme'.

The main elements of this (Accepted) proposal are:

Removal of [a-z].pypi.python.org DNS CNAMES
Replacing individual mirrors with a single Geo-aware CDN service

Previous revisions 365159, 347895, 342514 deprecated several individual
mirrors and *.pypi.python.org aliases. The following changes (Part III)
completes the (PEP-449 compatibility) transition:

Remove pypi.crate.io (NXDOMAIN)
Remove pypi.python.jp (Outdated, Broken for DISTNAMEs w/ hyphens
Switch to TLS (HTTPS) MASTER_SITE by default
Leave a non-TLS (HTTP) MASTER_SITE for fallback (proxy environments)

This change is also likely to fix PyPI (CHEESESHOP) update detection in
Portscout, at least until upcoming changes for the portscout port add a
dedicated sitehandler for it (and GitHub).

[1] https://www.python.org/dev/peps/pep-0449/

MFH: 2015Q4
Differential Revision: https://reviews.freebsd.org/D3972

Details

Provenance
koobsAuthored on
Differential Revision
D3972: Remove non-PEP449 Python mirrors [Part III]
Parents
rP400104: Update from 5.0.20 to 5.0.21:
Branches
Unknown
Tags
Unknown