[85192] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Oct 10 14:53:26 PDT 2011


Revision: 85192
          http://trac.macports.org/changeset/85192
Author:   jmr at macports.org
Date:     2011-10-10 14:53:26 -0700 (Mon, 10 Oct 2011)
Log Message:
-----------
unify py*-sphinx and update to 1.0.8 (#31501), part 2

Modified Paths:
--------------
    trunk/dports/python/py-sphinx/Portfile

Added Paths:
-----------
    trunk/dports/python/py-sphinx/

Removed Paths:
-------------
    trunk/dports/python/py27-sphinx/

Modified: trunk/dports/python/py-sphinx/Portfile
===================================================================
--- trunk/dports/python/py27-sphinx/Portfile	2011-10-10 21:26:34 UTC (rev 85187)
+++ trunk/dports/python/py-sphinx/Portfile	2011-10-10 21:53:26 UTC (rev 85192)
@@ -2,13 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-sphinx
-version             1.0.7
+name                py-sphinx
+version             1.0.8
 categories-append   textproc devel
 license             BSD
-maintainers         jmr openmaintainer
+maintainers         jmr gmail.com:michel.sylvan openmaintainer
 description         Python documentation generator
 long_description \
     Sphinx is a tool that makes it easy to create intelligent and beautiful \
@@ -24,13 +24,25 @@
 master_sites        http://pypi.python.org/packages/source/S/Sphinx/
 distname            Sphinx-${version}
 
-checksums           md5 42c722d48e52d4888193965dd473adb5 \
-                    sha1 b231438a51a84d53679a226ab2036ec62bb14fd5 \
-                    rmd160 e3c622dec2a971158bfe8bc7faee493f722199c8
+checksums           md5 6f9aace3f7e523ce55514eafa2764c6f \
+                    sha1 0301700e51f9610b6e2bc3df06ec97a8d80883d5 \
+                    rmd160 3d09880012f7dc26268923a3e0b13e8ab1250ae4
 
-depends_lib         port:py27-docutils
-depends_run         port:py27-pygments \
-                    port:py27-jinja2
+python.versions     24 25 26 27
 
-livecheck.type      regex
-livecheck.regex     {<p>Current version: <b>([0-9.]+)</b></p>}
+if {$subport != $name} {
+    depends_lib     port:py${python.version}-docutils
+    depends_run     port:py${python.version}-pygments \
+                    port:py${python.version}-jinja2
+    if {${python.version} <= 25} {
+        post-destroot {
+            foreach f [glob -directory "${destroot}${prefix}/bin" *] {
+                move ${f} ${f}-${python.branch}
+            }
+        }
+    }
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.regex {<p>Current version: <b>([0-9.]+)</b></p>}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111010/c051a5a7/attachment.html>


More information about the macports-changes mailing list