[120985] trunk/dports/python
sean at macports.org
sean at macports.org
Fri Jun 13 11:14:34 PDT 2014
Revision: 120985
https://trac.macports.org/changeset/120985
Author: sean at macports.org
Date: 2014-06-13 11:14:34 -0700 (Fri, 13 Jun 2014)
Log Message:
-----------
py-sphinx-contrib: add new port for sphinx extensions
Added Paths:
-----------
trunk/dports/python/py-sphinx-contrib/
trunk/dports/python/py-sphinx-contrib/Portfile
Added: trunk/dports/python/py-sphinx-contrib/Portfile
===================================================================
--- trunk/dports/python/py-sphinx-contrib/Portfile (rev 0)
+++ trunk/dports/python/py-sphinx-contrib/Portfile 2014-06-13 18:14:34 UTC (rev 120985)
@@ -0,0 +1,57 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+PortGroup bitbucket 1.0
+
+bitbucket.setup seanfarley sphinx-contrib 58d842c0ba6c
+name py-sphinx-contrib
+version 0.0.20140606
+categories-append textproc devel
+license BSD
+maintainers sean openmaintainer
+description Sphinx extensions
+long_description \
+ This is a collection of Sphinx extensions maintained by their respective authors. \
+ It is not an official part of Sphinx.
+
+platforms darwin
+supported_archs noarch
+
+checksums rmd160 2afcfc6cefafbb91c2dc605fb4a33a1fe919b557 \
+ sha256 f2c96c87db2122f6680daa49afd9596a0ab941531220b68b34e69efb3de83f16
+
+python.versions 25 26 27 31 32 33 34
+
+if {$subport ne $name} {
+ depends_lib port:py${python.version}-sphinx
+
+ livecheck.type none
+
+ post-patch {
+ reinplace -W ${worksrcpath}/ansi "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/cheeseshop "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/clearquest "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/email "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/exceltable "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/googleanalytics "s,README,README.rst," setup.py
+ reinplace -W ${worksrcpath}/hyphenator "s,README,README.rst," setup.py
+ }
+
+ build {
+ foreach d [glob -type d -directory ${worksrcpath} *] {
+ if {![string match "*_template" $d] && ![string match "*cmakedomain" $d]} {
+ system -W $d "${build.cmd} ${build.target}"
+ }
+ }
+ }
+
+ destroot {
+ foreach d [glob -type d -directory ${worksrcpath} *] {
+ if {![string match "*_template" $d] && ![string match "*cmakedomain" $d]} {
+ system -W $d "${destroot.cmd} ${destroot.target} ${destroot.destdir}"
+ }
+ }
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140613/27bf5f68/attachment.html>
More information about the macports-changes
mailing list