Date: Sat, 24 Oct 2015 09:59:20 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r400114 - branches/2015Q4/Mk Message-ID: <201510240959.t9O9xKEg067580@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Oct 24 09:59:20 2015 New Revision: 400114 URL: https://svnweb.freebsd.org/changeset/ports/400114 Log: MFH: r400105 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/ Differential Revision: https://reviews.freebsd.org/D3972 Approved by: portmgr (erwin) Modified: branches/2015Q4/Mk/bsd.sites.mk Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/Mk/bsd.sites.mk ============================================================================== --- branches/2015Q4/Mk/bsd.sites.mk Sat Oct 24 09:57:31 2015 (r400113) +++ branches/2015Q4/Mk/bsd.sites.mk Sat Oct 24 09:59:20 2015 (r400114) @@ -107,10 +107,12 @@ MASTER_SITE_BERLIOS+= \ .endif .if !defined(IGNORE_MASTER_SITE_CHEESESHOP) +# PEP-449 Compatible MASTER_SITES +# Removal of the PyPI Mirror Auto Discovery and Naming Scheme +# Reference: https://www.python.org/dev/peps/pep-0449/ MASTER_SITE_CHEESESHOP+= \ - http://pypi.python.org/packages/%SUBDIR%/ \ - http://pypi.crate.io/packages/%SUBDIR%/ \ - http://pypi.python.jp/${DISTNAME:S/${DISTVERSION}//:S/-//}/ + https://pypi.python.org/packages/%SUBDIR%/ \ + http://pypi.python.org/packages/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_COMP_SOURCES)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510240959.t9O9xKEg067580>