Revision: 144218 https://trac.macports.org/changeset/144218 Author: eborisch@macports.org Date: 2016-01-04 15:48:57 -0800 (Mon, 04 Jan 2016) Log Message: ----------- py-htmldocs: Move back to using ftp/python/doc (more stable) when available; Always store in dist_subdirs; Bump base rev to get everyone on the same page here. Also updated 34 version to latest docs. Modified Paths: -------------- trunk/dports/lang/py-htmldocs/Portfile Modified: trunk/dports/lang/py-htmldocs/Portfile =================================================================== --- trunk/dports/lang/py-htmldocs/Portfile 2016-01-04 23:27:11 UTC (rev 144217) +++ trunk/dports/lang/py-htmldocs/Portfile 2016-01-04 23:48:57 UTC (rev 144218) @@ -7,7 +7,8 @@ python.versions 26 27 31 32 33 34 35 python.default_version 27 version 1.0 -revision 1 +set base_rev 2 +revision ${base_rev} license {PSF} if {$subport != $name} { @@ -16,7 +17,7 @@ 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.3 } + if {${python.version} == 34} { version 3.4.4 } if {${python.version} == 35} { version 3.5.1 } } @@ -40,61 +41,57 @@ long_description Access Python ${version} HTML docs via \ file://${prefix}/share/doc/python${python.version}-doc/index.html - master_sites http://docs.python.org/${python.branch}/archives + master_sites http://www.python.org/ftp/python/doc/${version} distname python-${version}-docs-html + dist_subdir ${name}/${revision} set extractname ${distname} depends_lib-delete port:python${python.version} notes ${long_description} if {${python.version} == 26} { - revision 1 checksums \ rmd160 a7bd375ac3a62249529da805693c3b15510ff976 \ sha256 f3faa71f4b0cc8fa2bb6c5624233ae79983a2d5c11195fb2089668c60ceb7f1f } if {${python.version} == 27} { - revision 2 - dist_subdir ${name}/${revision} + set revision [expr ${base_rev}+1] checksums \ - rmd160 5962cd9d48d5678a832cfef7a693ffcadb66d55e \ - sha256 a6b61188de5e26295533a619f0e89dd180c6b4385d27e3239581de8aa1d4ceaf + rmd160 4dafd3e4e2493f23dd752bb2ce059bac0226d35f \ + sha256 806917ebf99d5b572831583070e44db341405634d5cfdd795ef1e608c05221e8 } if {${python.version} == 31} { - revision 1 checksums \ rmd160 29717979d6a8b4e970a4747e101259da3e3890c1 \ sha256 ff327cfaa1219d8d82fcb4f3bae3ec4ce28567982a49784004130521d282faa0 } if {${python.version} == 32} { - revision 1 checksums \ rmd160 039539fc90454d35525c8b9478156f7135b86622 \ sha256 b746ef40a29abe7949e5f183e236a0734c58b841c0600043160a518390704c13 } if {${python.version} == 33} { - revision 1 checksums \ rmd160 84290bfaea54b943025f7088268f256d4a50cf71 \ sha256 54da33f8a91be819e7ac22fdc88c5125bdd4c67494f52dd79d6b603572c41fb0 } if {${python.version} == 34} { - revision 1 + master_sites http://docs.python.org/${python.branch}/archives checksums \ - rmd160 3cfdc8682fee199be83163026aa2a387f36e14af \ - sha256 62690cf2d6781cf761aa4ae3c81b8a794700f6b61e4cef0cadbcf4f96a5b7da1 + rmd160 61a2f71b85b5e50c38de8e5616ffd87a4a382bf6 \ + sha256 8554b59a5aea9801ae735cafd13585f6e07c25cb71dba2402bd4eacfc05ee2e0 } if {${python.version} == 35} { - revision 2 - dist_subdir ${name}/${revision} + master_sites http://docs.python.org/${python.branch}/archives + set revision [expr ${base_rev}+1] checksums \ - rmd160 708cb554c1b80bcf795f89936ca9bdac11abffb5 \ - sha256 ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98 + rmd160 3e99602293474b478c97ee7ba004065ab65d9196 \ + sha256 1e395e25837fd8898cdd56511c6b56a2ceaace3145e2913e3544a4dfa0f63916 } build {}
participants (1)
-
eborisch@macports.org