[125160] trunk/dports/python/py-omniORBpy/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Sep 7 21:34:18 PDT 2014


Revision: 125160
          https://trac.macports.org/changeset/125160
Author:   ryandesign at macports.org
Date:     2014-09-07 21:34:18 -0700 (Sun, 07 Sep 2014)
Log Message:
-----------
py-omniORBpy: update to 4.2.0; enfore correct python variant of omniORB rather than advising user to do so manually; set configure.python to build for the correct python; use py27 by default (#35818)

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

Modified: trunk/dports/python/py-omniORBpy/Portfile
===================================================================
--- trunk/dports/python/py-omniORBpy/Portfile	2014-09-08 04:26:03 UTC (rev 125159)
+++ trunk/dports/python/py-omniORBpy/Portfile	2014-09-08 04:34:18 UTC (rev 125160)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           active_variants 1.1
 PortGroup           python 1.0
 
 name                py-omniORBpy
-version             3.6
-revision            0
+version             4.2.0
 categories-append   devel
 license             LGPL-2.1
 platforms           darwin
@@ -24,8 +24,8 @@
 
 distname            omniORBpy-${version}
 
-checksums           rmd160  96b73cfcac7f2b8df2894c93b3e422bd85412251 \
-                    sha256  b845eef13b56dfb47c98d65636ede5155ed4b84b2a64e35831b94668878af7c7
+checksums           rmd160  4359c1723126e74f06fadf9f24bc884819de7f85 \
+                    sha256  c82b3bafacbb93cfaace41765219155f2b24eb3781369bba0581feb1dc50fe5e
 
 use_bzip2           yes
 
@@ -36,16 +36,15 @@
 # Ugly but it works.
 
 python.versions     24 25 26 27
-python.default_version 24
 
 if {${name} ne ${subport}} {
-    notes \
-"${name} must be compatible with the corresponding omniORB installation.
-Ensure that the same python version has been specified for the omniORB variant."
+    depends_lib-append  port:omniORB
 
-    depends_lib         port:omniORB \
-                        port:python${python.version}
+    # omniORB is not universal
+    universal_variant   no
 
+    require_active_variants omniORB python${python.version}
+
     patchfiles          patch-dir.mk
 
     post-patch {
@@ -59,6 +58,8 @@
 
     use_configure       yes
 
+    configure.python    ${python.bin}
+
     build.type          gnu
     build.cmd           make
     build.target        all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140907/8e03e2ce/attachment.html>


More information about the macports-changes mailing list