b2f769a _resources/port1.0/fetch/mirror_sites.tcl

Joshua Root jmr at macports.org
Wed Feb 7 09:04:50 UTC 2018


> diff --git a/_resources/port1.0/fetch/mirror_sites.tcl b/_resources/port1.0/fetch/mirror_sites.tcl
> index fdc968906e0..0cc609ba82b 100644
> --- a/_resources/port1.0/fetch/mirror_sites.tcl
> +++ b/_resources/port1.0/fetch/mirror_sites.tcl
> @@ -641,8 +641,15 @@ set portfetch::mirror_sites::sites(postgresql) {
>  # work automatically (which is, append first letter of port name, then
>  # port name) so just use a basic form here and fake it in ports that need
>  # to use this.
> +#
> +# Due to web page redesign https://pypi.python.org now uses version specific urls of the form
> +# https://pypi.python.org/packages/6c/54/f7e9cea6897636a04e74c3954f0d8335cc38f7d01e27eec98026b049a300
> +#
> +# https://files.pythonhosted.org still uses old scheme but requires TLS 1.2.
> +# This breaks on 10.8 and earlier where TLS 1.2 is not currently supported.
> +
>  set portfetch::mirror_sites::sites(pypi) {
> -    https://pypi.python.org/packages/source/:nosubdir
> +    https://pypi.python.org/packages/:nosubdir
>      https://files.pythonhosted.org/packages/source/:nosubdir
>  }

The <https://pypi.python.org/packages/source/> existed for the benefit
of packages that still have files using the old scheme. This probably
breaks them.

- Josh


More information about the macports-dev mailing list