[92084] trunk/dports/devel/tortoisehg/Portfile

jmr at macports.org jmr at macports.org
Tue Apr 17 10:35:08 PDT 2012


Revision: 92084
          https://trac.macports.org/changeset/92084
Author:   jmr at macports.org
Date:     2012-04-17 10:35:08 -0700 (Tue, 17 Apr 2012)
Log Message:
-----------
tortoisehg: use python27 to match mercurial, remove maintainer (#29498)

Modified Paths:
--------------
    trunk/dports/devel/tortoisehg/Portfile

Modified: trunk/dports/devel/tortoisehg/Portfile
===================================================================
--- trunk/dports/devel/tortoisehg/Portfile	2012-04-17 17:32:21 UTC (rev 92083)
+++ trunk/dports/devel/tortoisehg/Portfile	2012-04-17 17:35:08 UTC (rev 92084)
@@ -2,15 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 PortGroup           app 1.0
 
 name                tortoisehg
 version             2.1.2
+revision            1
 categories          devel python
 platforms           darwin
 license             GPL-2
-maintainers         superquadratic.net:guido openmaintainer
+maintainers         nomaintainer
 supported_archs     noarch
 
 description         A set of graphical tools for Mercurial
@@ -24,13 +25,15 @@
 checksums           sha1    26d71af44a5cbd095e16d655d2874966e137e94e \
                     rmd160  befd27d486e4f9a6840467befc65d9c52704c746
 
-depends_lib-append  port:mercurial \
-                    port:py26-pyqt4 \
-                    port:py26-qscintilla \
-                    port:py26-iniparse
+python.default_version 27
 
-depends_build       port:py26-sphinx
+depends_lib         port:mercurial \
+                    port:py${python.version}-pyqt4 \
+                    port:py${python.version}-qscintilla \
+                    port:py${python.version}-iniparse
 
+depends_build       port:py${python.version}-sphinx
+
 post-extract {
     file copy ${filespath}/config.py ${worksrcpath}/tortoisehg/util/
 }
@@ -45,7 +48,7 @@
 python.link_binaries_suffix
 
 post-destroot {
-    system "cd ${worksrcpath}/doc && make SPHINXBUILD=sphinx-build-2.6 html"
+    system "cd ${worksrcpath}/doc && make SPHINXBUILD=sphinx-build-${python.branch} html"
     file copy ${worksrcpath}/doc/build/html ${destroot}${prefix}/share/doc/${name}/html
 
     xinstall -m 644 -W ${worksrcpath} COPYING.txt ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120417/563fb8e7/attachment-0001.html>


More information about the macports-changes mailing list