Revision: 93966 https://trac.macports.org/changeset/93966 Author: stromnov@macports.org Date: 2012-06-05 06:52:57 -0700 (Tue, 05 Jun 2012) Log Message: ----------- py-omniORBpy: update to version 3.6 (#33241, #34760) Modified Paths: -------------- trunk/dports/python/py-omniORBpy/Portfile Modified: trunk/dports/python/py-omniORBpy/Portfile =================================================================== --- trunk/dports/python/py-omniORBpy/Portfile 2012-06-05 12:52:40 UTC (rev 93965) +++ trunk/dports/python/py-omniORBpy/Portfile 2012-06-05 13:52:57 UTC (rev 93966) @@ -5,23 +5,30 @@ PortGroup python 1.0 name py-omniORBpy -version 3.4 -categories python devel +version 3.6 +revision 0 +categories-append devel +license LGPL-2.1 +platforms darwin +supported_archs i386 x86_64 + maintainers stromnov openmaintainer + description Python bindings for omniORB + long_description omniORB is a robust high performance CORBA ORB for C++ and \ Python. omniORB is largely CORBA 2.6 compliant. -homepage http://omniorb.sourceforge.net/ -platforms darwin + + homepage http://omniorb.sourceforge.net/ master_sites sourceforge:project/omniorb/omniORBpy/omniORBpy-${version} distname omniORBpy-${version} -#use_bzip2 yes -checksums md5 d054e99c89c20f86927c52010e9e7449 \ - sha1 e598bd25289d0a2a09da4c7241513202c8b9adb4 \ - rmd160 5b389a31907510800ef0913e2e3855038e6a4cf9 +checksums rmd160 96b73cfcac7f2b8df2894c93b3e422bd85412251 \ + sha256 b845eef13b56dfb47c98d65636ede5155ed4b84b2a64e35831b94668878af7c7 +use_bzip2 yes + # Use the python subports feature but omniORBpy uses make # rather than setup.py for building since there are compiled libraries. # So the build procedure must unravel the python PortGroup settings @@ -32,11 +39,24 @@ python.default_version 24 if {$subport != $name} { + 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 port:omniORB \ port:python${python.version} patchfiles patch-dir.mk + post-patch { + # python libraries (PYTHON_PREFIX) + reinplace "s|get_python_lib(0,\[^)\]*)|get_python_lib()|g" \ + ${worksrcpath}/configure + # compiled libraries to support python (PYTHON_EXEC_PREFIX) + reinplace "s|get_python_lib(1,\[^)\]*)|get_python_lib()|g" \ + ${worksrcpath}/configure + } + use_configure yes build.type gnu @@ -53,6 +73,7 @@ configure.args-append --with-openssl depends_lib-append port:openssl } + livecheck.type none } else { livecheck.type regex