[144420] trunk/dports/lang/py-htmldocs/Portfile

eborisch at macports.org eborisch at macports.org
Fri Jan 8 07:43:17 PST 2016


Revision: 144420
          https://trac.macports.org/changeset/144420
Author:   eborisch at macports.org
Date:     2016-01-08 07:43:17 -0800 (Fri, 08 Jan 2016)
Log Message:
-----------
py-htmldocs: Use private mirror to enable checksums on rolling-update tarballs. Relies on MP mirrors to serve files post initial fetch.

Modified Paths:
--------------
    trunk/dports/lang/py-htmldocs/Portfile

Modified: trunk/dports/lang/py-htmldocs/Portfile
===================================================================
--- trunk/dports/lang/py-htmldocs/Portfile	2016-01-08 14:17:39 UTC (rev 144419)
+++ trunk/dports/lang/py-htmldocs/Portfile	2016-01-08 15:43:17 UTC (rev 144420)
@@ -79,16 +79,27 @@
     }
 
     if {${python.version} == 34} {
-      master_sites          http://docs.python.org/${python.branch}/archives
-      # These seem to be re-generated daily.
-      checksum {}
+      # These seem to be re-generated daily. This is a hack to host our own
+      # sable mirror. The files are deleted once the MP mirror has them.
+      master_sites          https://googledrive.com/host/ 
+      distname              0B7cu0mVWX2IZZTFvMVRRd2dLd0k
+      extract.suffix        
+      set revision          [expr ${base_rev}+1] 
+      checksums \
+        rmd160  956cdef99aa43949e77c3d8e8622277baa36d7c1 \
+        sha256  6f21d12303494979e265d3ba628ac9a8221a6010df3792964495d60218ad3942
     }
 
     if {${python.version} == 35} {
-      master_sites          http://docs.python.org/${python.branch}/archives
-      set revision          [expr ${base_rev}+1] 
-      # These seem to be re-generated daily.
-      checksum {}
+      # These seem to be re-generated daily. This is a hack to host our own
+      # sable mirror. The files are deleted once the MP mirror has them.
+      master_sites          https://googledrive.com/host/ 
+      distname              0B7cu0mVWX2IZZkQtQWxzVFBfaVk
+      extract.suffix        
+      set revision          [expr ${base_rev}+2] 
+      checksums \
+        rmd160  8eca62101dde03571b93cf807f5d9590abc05215 \
+        sha256  5e6680de8587811d8c72bfbe25337a0747e3117da975a1b190f5ce1e35034695
     }
 
     dist_subdir         ${name}/${revision}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160108/670aca29/attachment.html>


More information about the macports-changes mailing list