[137836] trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl

larryv at macports.org larryv at macports.org
Sat Jun 20 21:56:02 PDT 2015


Revision: 137836
          https://trac.macports.org/changeset/137836
Author:   larryv at macports.org
Date:     2015-06-20 21:56:02 -0700 (Sat, 20 Jun 2015)
Log Message:
-----------
mirror_sites: Add "pypi" mirror group

Ports will still have to tack on the subdirectory themselves,
unfortunately.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl

Modified: trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl
===================================================================
--- trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl	2015-06-21 04:55:58 UTC (rev 137835)
+++ trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl	2015-06-21 04:56:02 UTC (rev 137836)
@@ -411,6 +411,14 @@
     ftp://ftp.postgresql.org/pub/
 }
 
+# Note that mirror_sites aren't intelligent enough to handle how this should
+# 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.
+set portfetch::mirror_sites::sites(pypi) {
+    https://pypi.python.org/packages/source/:nosubdir
+}
+
 set portfetch::mirror_sites::sites(ruby) {
     http://mirrors.ibiblio.org/ruby/
     http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150620/e8a22b79/attachment.html>


More information about the macports-changes mailing list