Ticket #31501: py-sphinx.diff
File py-sphinx.diff, 2.0 KB (added by jmroot (Joshua Root), 13 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup python 271.05 PortGroup python 1.0 6 6 7 name py 27-sphinx8 version 1.0. 77 name py-sphinx 8 version 1.0.8 9 9 categories-append textproc devel 10 10 license BSD 11 maintainers jmr openmaintainer11 maintainers jmr gmail.com:michel.sylvan openmaintainer 12 12 description Python documentation generator 13 13 long_description \ 14 14 Sphinx is a tool that makes it easy to create intelligent and beautiful \ … … 24 24 master_sites http://pypi.python.org/packages/source/S/Sphinx/ 25 25 distname Sphinx-${version} 26 26 27 checksums md5 42c722d48e52d4888193965dd473adb5\28 sha1 b231438a51a84d53679a226ab2036ec62bb14fd5 \29 rmd160 e3c622dec2a971158bfe8bc7faee493f722199c827 checksums md5 6f9aace3f7e523ce55514eafa2764c6f \ 28 sha1 0301700e51f9610b6e2bc3df06ec97a8d80883d5 \ 29 rmd160 3d09880012f7dc26268923a3e0b13e8ab1250ae4 30 30 31 depends_lib port:py27-docutils 32 depends_run port:py27-pygments \ 33 port:py27-jinja2 31 python.versions 24 25 26 27 34 32 35 livecheck.type regex 36 livecheck.regex {<p>Current version: <b>([0-9.]+)</b></p>} 33 if {$subport != $name} { 34 depends_lib port:py${python.version}-docutils 35 depends_run port:py${python.version}-pygments \ 36 port:py${python.version}-jinja2 37 if {${python.version} <= 25} { 38 post-destroot { 39 foreach f [glob -directory "${destroot}${prefix}/bin" *] { 40 move ${f} ${f}-${python.branch} 41 } 42 } 43 } 44 livecheck.type none 45 } else { 46 livecheck.type regex 47 livecheck.regex {<p>Current version: <b>([0-9.]+)</b></p>} 48 }