[99554] trunk/dports/devel/jubatus/Portfile

hum at macports.org hum at macports.org
Fri Nov 9 14:26:14 PST 2012


Revision: 99554
          http://trac.macports.org//changeset/99554
Author:   hum at macports.org
Date:     2012-11-09 14:26:14 -0800 (Fri, 09 Nov 2012)
Log Message:
-----------
jubatus: increment revision; fix depends_lib to specify one of the subports of py-msgpack; see #36895.

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

Modified: trunk/dports/devel/jubatus/Portfile
===================================================================
--- trunk/dports/devel/jubatus/Portfile	2012-11-09 22:19:21 UTC (rev 99553)
+++ trunk/dports/devel/jubatus/Portfile	2012-11-09 22:26:14 UTC (rev 99554)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        jubatus jubatus 0.3.3 jubatus-
+revision            1
 
 categories          devel math textproc
 maintainers         hum openmaintainer
@@ -24,7 +25,6 @@
                     sha256  5e7d9a48c69f7e94b91f592f2f2977992f24ed5db728b3570378a11152712b10
 
 depends_lib         port:pkgconfig \
-                    port:py-msgpack \
                     port:msgpack \
                     port:pficommon \
                     port:re2 \
@@ -34,6 +34,30 @@
                     port:mecab-utf8 \
                     port:libzookeeper
 
+variant python26 conflicts python27 python31 python32 description {Use python26} {
+    depends_lib-append      port:py26-msgpack
+    configure.python        ${prefix}/bin/python2.6
+}
+
+variant python27 conflicts python26 python31 python32 description {Use python27} {
+    depends_lib-append      port:py27-msgpack
+    configure.python        ${prefix}/bin/python2.7
+}
+
+variant python31 conflicts python26 python27 python32 description {Use python31} {
+    depends_lib-append      port:py31-msgpack
+    configure.python        ${prefix}/bin/python3.1
+}
+
+variant python32 conflicts python26 python27 python31 description {Use python32} {
+    depends_lib-append      port:py32-msgpack
+    configure.python        ${prefix}/bin/python3.2
+}
+
+if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32]} {
+    default_variants +python27
+}
+
 configure.cmd       ./waf configure
 configure.args-append    --enable-ux --enable-mecab
 configure.universal_args
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121109/aac414e0/attachment.html>


More information about the macports-changes mailing list