[126084] trunk/dports/devel/buildbot/Portfile

jmr at macports.org jmr at macports.org
Fri Oct 3 05:36:48 PDT 2014


Revision: 126084
          https://trac.macports.org/changeset/126084
Author:   jmr at macports.org
Date:     2014-10-03 05:36:48 -0700 (Fri, 03 Oct 2014)
Log Message:
-----------
buildbot: use unified python portgroup

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

Modified: trunk/dports/devel/buildbot/Portfile
===================================================================
--- trunk/dports/devel/buildbot/Portfile	2014-10-03 12:33:59 UTC (rev 126083)
+++ trunk/dports/devel/buildbot/Portfile	2014-10-03 12:36:48 UTC (rev 126084)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem         1.0
-PortGroup          python27 1.0
+PortGroup          python 1.0
 
 name               buildbot
 version            0.8.7p1
@@ -22,11 +22,13 @@
 checksums          rmd160 503feeae40e5f05b2a6aff448ff22b03a5b84a15 \
                    sha256 8dee3f887bce55a7f7cf01e6c421a2511898c2f89f55f202f5193a100a9a5776
 
-depends_lib-append port:py27-twisted \
-                   port:py27-jinja2 \
-                   port:py27-sqlalchemy \
-                   port:py27-sqlalchemy-migrate
+python.default_version  27
 
+depends_lib-append port:py${python.version}-twisted \
+                   port:py${python.version}-jinja2 \
+                   port:py${python.version}-sqlalchemy \
+                   port:py${python.version}-sqlalchemy-migrate
+
 python.link_binaries_suffix
 
 post-destroot {
@@ -34,7 +36,7 @@
     ${destroot}${prefix}/share/doc/${name}
 }
 
-# note some tests need py27-mock
+# note some tests need py-mock
 test.run           yes
 test.env           PYTHONPATH=.
 test.cmd           ${prefix}/bin/trial-${python.branch}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141003/b2420b2d/attachment.html>


More information about the macports-changes mailing list