[126085] trunk/dports/devel/buildbot-slave/Portfile

jmr at macports.org jmr at macports.org
Fri Oct 3 05:38:37 PDT 2014


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

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

Modified: trunk/dports/devel/buildbot-slave/Portfile
===================================================================
--- trunk/dports/devel/buildbot-slave/Portfile	2014-10-03 12:36:48 UTC (rev 126084)
+++ trunk/dports/devel/buildbot-slave/Portfile	2014-10-03 12:38:37 UTC (rev 126085)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem         1.0
-PortGroup          python27 1.0
+PortGroup          python 1.0
 
 name               buildbot-slave
 version            0.8.7p1
@@ -23,8 +23,10 @@
 checksums          rmd160 dcf33994816786b6760e9d2b0a0d391f5e77ae42 \
                    sha256 bbdb07a3847efa186f942142a09394b467d7375745c49da0a42e9aa5b206eadc
 
-depends_lib-append port:py27-twisted
+python.default_version  27
 
+depends_lib-append port:py${python.version}-twisted
+
 python.link_binaries_suffix
 
 post-destroot {
@@ -34,7 +36,7 @@
     ${destroot}${prefix}/share/man/man1
 }
 
-# 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/d9e05db1/attachment.html>


More information about the macports-changes mailing list