summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-07-24 18:35:17 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-07-24 18:35:17 +0000
commit260fd0dfffdd88a73351c3e43abf86341a5d9502 (patch)
tree7a4bd2af8bb7ef161f63964658c2464900d47558 /dev-python/omniorbpy
parentversion bump (#140328) (diff)
downloadgentoo-2-260fd0dfffdd88a73351c3e43abf86341a5d9502.tar.gz
gentoo-2-260fd0dfffdd88a73351c3e43abf86341a5d9502.tar.bz2
gentoo-2-260fd0dfffdd88a73351c3e43abf86341a5d9502.zip
version bump (#140328)
(Portage version: 2.1.1_pre3-r4)
Diffstat (limited to 'dev-python/omniorbpy')
-rw-r--r--dev-python/omniorbpy/ChangeLog7
-rw-r--r--dev-python/omniorbpy/files/digest-omniorbpy-2.73
-rw-r--r--dev-python/omniorbpy/omniorbpy-2.7.ebuild90
3 files changed, 99 insertions, 1 deletions
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 59fa4103a31b..739ea5e8780d 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/omniorbpy
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/ChangeLog,v 1.13 2006/07/16 14:39:48 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/ChangeLog,v 1.14 2006/07/24 18:35:17 liquidx Exp $
+
+*omniorbpy-2.7 (24 Jul 2006)
+
+ 24 Jul 2006; Alastair Tse <liquidx@gentoo.org> +omniorbpy-2.7.ebuild:
+ version bump (#140328)
16 Jul 2006; Alastair Tse <liquidx@gentoo.org> omniorbpy-2.5.ebuild,
omniorbpy-2.6.ebuild:
diff --git a/dev-python/omniorbpy/files/digest-omniorbpy-2.7 b/dev-python/omniorbpy/files/digest-omniorbpy-2.7
new file mode 100644
index 000000000000..3366556d1b40
--- /dev/null
+++ b/dev-python/omniorbpy/files/digest-omniorbpy-2.7
@@ -0,0 +1,3 @@
+MD5 930acc2a60298b20f2ff79365745bc5b omniORBpy-2.7.tar.gz 642784
+RMD160 c869b0d333147227bfe416c98cc44339a8f221e9 omniORBpy-2.7.tar.gz 642784
+SHA256 27b6793c4dd0df8ac65e6f020358ceb681904efc7bd886d6816776ba4f4bc0ae omniORBpy-2.7.tar.gz 642784
diff --git a/dev-python/omniorbpy/omniorbpy-2.7.ebuild b/dev-python/omniorbpy/omniorbpy-2.7.ebuild
new file mode 100644
index 000000000000..9d1fc81d274b
--- /dev/null
+++ b/dev-python/omniorbpy/omniorbpy-2.7.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/omniorbpy-2.7.ebuild,v 1.1 2006/07/24 18:35:17 liquidx Exp $
+
+inherit eutils python
+
+MY_P=${P/omniorb/omniORB}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A robust high-performance CORBA ORB for Python."
+HOMEPAGE="http://omniorb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="ssl"
+
+DEPEND=">=net-misc/omniORB-4.0.7
+ ssl? ( dev-libs/openssl )"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
+ -e "s/^CDEBUGFLAGS.*/CDEBUGFLAGS = ${CFLAGS}/" \
+ ${S}/mk/beforeauto.mk.in
+ sed -i -e 's#^.*compileall[^\\]*#/bin/true;#' \
+ ${S}/python/dir.mk \
+ ${S}/python/omniORB/dir.mk \
+ ${S}/python/COS/dir.mk \
+ ${S}/python/CosNaming/dir.mk \
+ ${S}/CosNaming__POA/dir.mk
+}
+
+src_compile() {
+ MY_CONF=""
+
+ use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
+
+ python_version
+ MY_PY=/usr/bin/python${PYVER}
+
+ PYTHON=${MY_PY} econf \
+ --with-omniorb=/usr \
+ ${MY_CONF} || die "./configure failed"
+
+ emake || die " make failed"
+}
+
+src_install() {
+ # make files are crap!
+ sed -i -e "s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/" \
+ mk/beforeauto.mk
+
+ # won't work without these really very ugly hack...
+ # maybe someone can do better..
+
+ mv python/omniORB/dir.mk python/omniORB/dir.mk_orig
+ awk -v STR="ir\\\.idl" '{ if (/^[[:space:]]*$/) flag = 0; tmpstr = $0; if (gsub(STR, "", tmpstr)) flag = 1; if (flag) print "#" $0; else print $0; }' python/omniORB/dir.mk_orig > python/omniORB/dir.mk
+
+ mv python/dir.mk python/dir.mk_orig
+ awk -v STR="Naming\\\.idl" '{ if (/^[[:space:]]*$/) flag = 0; tmpstr = $0; if (gsub(STR, "", tmpstr)) flag = 1; if (flag) print "#" $0; else print $0; }' python/dir.mk_orig > python/dir.mk
+
+ make DESTDIR=${D} install || die " install failed"
+
+ dodoc COPYING.LIB README README.Python
+ dohtml doc/omniORBpy
+ dodoc doc/omniORBpy.p* # ps,pdf
+ dodoc doc/tex/* # .bib, .tex
+
+ dodir /usr/share/doc/${P}/examples
+ cp -r examples/* ${D}/usr/share/doc/${P}/examples
+
+ mv ${D}/usr/lib/python${PYVER}/site-packages/PortableServer.py \
+ ${D}/usr/lib/python${PYVER}/site-packages/omniorbpy_PortableServer.py
+
+ mv ${D}/usr/lib/python${PYVER}/site-packages/CORBA.py \
+ ${D}/usr/lib/python${PYVER}/site-packages/omniorbpy_CORBA.py
+
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages
+} \ No newline at end of file