[130362] trunk/dports/python/py-docutils/Portfile
Revision: 130362 https://trac.macports.org/changeset/130362 Author: jmr@macports.org Date: 2014-12-29 20:19:14 -0800 (Mon, 29 Dec 2014) Log Message: ----------- py-docutils: remove 24 25 31 32 subports Modified Paths: -------------- trunk/dports/python/py-docutils/Portfile Modified: trunk/dports/python/py-docutils/Portfile =================================================================== --- trunk/dports/python/py-docutils/Portfile 2014-12-30 04:17:18 UTC (rev 130361) +++ trunk/dports/python/py-docutils/Portfile 2014-12-30 04:19:14 UTC (rev 130362) @@ -26,21 +26,16 @@ sha1 002450621b33c5690060345b0aac25bc2426d675 \ rmd160 1eb12ed88a334a154c8548f404ea82c7a65fa9ba -python.versions 24 25 26 27 31 32 33 34 +python.versions 26 27 33 34 if {$subport ne $name} { depends_lib port:py${python.version}-roman # we want e.g. *-2.7.py not *.py-2.7 python.link_binaries no - python.move_binaries no post-destroot { foreach f {rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xml rstpep2html rst2xetex} { - if {${python.version} >= 26} { - ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-${python.branch}.py - } else { - move ${destroot}${prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-${python.branch}.py - } + ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-${python.branch}.py } } livecheck.type none
participants (1)
-
jmr@macports.org