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

eborisch at macports.org eborisch at macports.org
Mon Aug 8 19:30:31 PDT 2016


Revision: 151155
          https://trac.macports.org/changeset/151155
Author:   eborisch at macports.org
Date:     2016-08-08 19:30:31 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
py-htmldocs: update 27, 34, and 35 to latest.

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

Modified: trunk/dports/lang/py-htmldocs/Portfile
===================================================================
--- trunk/dports/lang/py-htmldocs/Portfile	2016-08-08 22:33:06 UTC (rev 151154)
+++ trunk/dports/lang/py-htmldocs/Portfile	2016-08-09 02:30:31 UTC (rev 151155)
@@ -13,12 +13,12 @@
 
 if {$subport != $name} {
     if {${python.version} == 26} { version 2.6.9 }
-    if {${python.version} == 27} { version 2.7.11 }
+    if {${python.version} == 27} { version 2.7.12 }
     if {${python.version} == 31} { version 3.1.5 }
     if {${python.version} == 32} { version 3.2.6 }
     if {${python.version} == 33} { version 3.3.6 }
-    if {${python.version} == 34} { version 3.4.4 }
-    if {${python.version} == 35} { version 3.5.1 }
+    if {${python.version} == 34} { version 3.4.5 }
+    if {${python.version} == 35} { version 3.5.2 }
 }
 
 categories          lang
@@ -54,10 +54,9 @@
     }
 
     if {${python.version} == 27} {
-      set revision          [expr ${base_rev}+1] 
       checksums \
-        rmd160  4dafd3e4e2493f23dd752bb2ce059bac0226d35f \
-        sha256  806917ebf99d5b572831583070e44db341405634d5cfdd795ef1e608c05221e8
+        rmd160  07fa479d9570a4d86f9e355183c91eeea57688d9 \
+        sha256  40891e010cdd9a752a17bd02e30aa853f9a2a7767ee82911cf4507dfa3b13de8
     }
     
     if {${python.version} == 31} {
@@ -80,28 +79,33 @@
 
     if {${python.version} == 34} {
       # 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] 
+      # sable mirror. The files may be deleted once the MP mirror has them.
+      master_sites          https://www.dropbox.com/s/0n0oanfkkmj8wcn/
+      distname              python-3.4.5-docs-html~
       checksums \
-        rmd160  956cdef99aa43949e77c3d8e8622277baa36d7c1 \
-        sha256  6f21d12303494979e265d3ba628ac9a8221a6010df3792964495d60218ad3942
+        rmd160  5ea48760369cf865aed6d518400391d8daab66bd \
+        sha256  21a890f961d8f115d966390dc3a3b7df2511be0cfa03751e85a589a45d3636bf
     }
 
     if {${python.version} == 35} {
       # 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] 
+      # sable mirror. The files may be deleted once the MP mirror has them.
+      master_sites          https://www.dropbox.com/s/7si63y9i0425o7f/
+      distname              python-3.5.2-docs-html~
       checksums \
-        rmd160  8eca62101dde03571b93cf807f5d9590abc05215 \
-        sha256  5e6680de8587811d8c72bfbe25337a0747e3117da975a1b190f5ce1e35034695
+        rmd160  16e6dc1ca90841e3f2a114fd34d7fbb931d4d3ca \
+        sha256  05062d543f8a759e85b6409119e95321db25fd607a3bf258aa2f4333575a9dc0
     }
 
+    if {[string match https://www.dropbox* ${master_sites}]} {
+      depends_fetch-append  port:wget
+      fetch {
+          # Curl doesn't redirect successfully to download; use wget
+          system -W ${distpath} \
+            "wget -nc ${master_sites}${distname}${extract.suffix}"
+      }
+    }
+
     dist_subdir         ${name}/${revision}
 
     build {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/9c30fd96/attachment.html>


More information about the macports-changes mailing list