* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
@ 2013-10-15 17:17 Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2013-10-15 17:17 UTC (permalink / raw
To: gentoo-commits
commit: 5acd8437fd8fe9a6e01d4c8b1cb1434d04c4790d
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 13:23:53 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 17:17:08 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5acd8437
dev-python/omniorbpy: Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE
Package-Manager: portage-2.2.7
---
dev-python/omniorbpy/ChangeLog | 3 +++
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 1b9bddb..1961eec 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 Oct 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
+ Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE
+
14 Jun 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild,
metadata.xml:
Bump to EAPI=5 and distutils-r1.eclass
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index c265e39..53f5829 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -19,7 +19,9 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="ssl"
-DEPEND="
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
>=net-misc/omniORB-4.1.3
ssl? ( dev-libs/openssl )"
RDEPEND=${DEPEND}
@@ -61,5 +63,5 @@ src_install() {
dodoc doc/tex/*
insinto /usr/share/doc/${PF}/
- doins -r examples || die
+ doins -r examples
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
@ 2020-09-22 18:38 Aisha Tammy
0 siblings, 0 replies; 6+ messages in thread
From: Aisha Tammy @ 2020-09-22 18:38 UTC (permalink / raw
To: gentoo-commits
commit: 36d80fe5d703cc4483c7a44aacc143d4ee0a15fc
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 18:38:06 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 18:38:24 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=36d80fe5
dev-python/omniorbpy: drop dead package
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-python/omniorbpy/metadata.xml | 11 ------
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 66 -------------------------------
2 files changed, 77 deletions(-)
diff --git a/dev-python/omniorbpy/metadata.xml b/dev-python/omniorbpy/metadata.xml
deleted file mode 100644
index 39a7f8b65..000000000
--- a/dev-python/omniorbpy/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">omniorb</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
deleted file mode 100644
index 4f67c53da..000000000
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools-utils eutils multilib python-r1
-
-MY_P=${P/omniorb/omniORB}
-
-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 ~x86"
-IUSE="ssl"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- >=net-misc/omniORB-4.1.3[${PYTHON_USEDEP}]
- ssl? ( dev-libs/openssl:0= )"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- sed \
- -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
- -e "s/^CDEBUGFLAGS.*/CDEBUGFLAGS = ${CFLAGS}/" \
- -e "s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/" \
- -i "${S}"/mk/beforeauto.mk.in || die
- sed \
- -e 's#^.*compileall[^\\]*#${EPREFIX}/bin/true;#' \
- -i "${S}"/python/dir.mk \
- "${S}"/python/omniORB/dir.mk \
- "${S}"/python/COS/dir.mk \
- "${S}"/python/CosNaming/dir.mk || die
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=( --with-omniorb="${EPREFIX}/usr" )
-
- use ssl && myconf+=( --with-openssl="${EPREFIX}/usr" )
-
- python_foreach_impl autotools-utils_src_configure
-}
-
-src_compile() {
- python_foreach_impl autotools-utils_src_compile
-}
-
-src_install() {
- python_foreach_impl autotools-utils_src_install
-
- HTML_DOCS=( doc/omniORBpy )
- DOCS=( doc/omniORBpy.p* doc/tex/* )
- einstalldocs
-
- insinto /usr/share/doc/${PF}/
- doins -r examples
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
@ 2015-04-08 9:27 Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2015-04-08 9:27 UTC (permalink / raw
To: gentoo-commits
commit: 3ae1efbdf1c5ed72104d77f500d0322b26f781eb
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 8 09:26:52 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 8 09:26:52 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3ae1efbd
dev-python/omniorbpy: Fix python dependency
Package-Manager: portage-2.2.18
RepoMan-Options: --force
dev-python/omniorbpy/ChangeLog | 3 +++
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 5cc37e9..3c8f8ca 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 08 Apr 2015; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
+ dev-python/omniorbpy: Fix python dependency
+
18 Feb 2015; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
dev-python/omniorbpy: fix SLOT operators
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index 0f4236f..4ec65ac 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -22,8 +22,8 @@ IUSE="ssl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
- >=net-misc/omniORB-4.1.3
- ssl? ( dev-libs/openssl:0 )"
+ >=net-misc/omniORB-4.1.3[${PYTHON_USEDEP}]
+ ssl? ( dev-libs/openssl:0= )"
RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
@ 2013-10-16 4:49 Nicolas Bock
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Bock @ 2013-10-16 4:49 UTC (permalink / raw
To: gentoo-commits
commit: fe0796cf0b6b20e5d92ec7f57b3400863c39783e
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 13:23:53 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue Oct 15 13:23:53 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fe0796cf
dev-python/omniorbpy: Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE
Package-Manager: portage-2.2.7
---
dev-python/omniorbpy/ChangeLog | 3 +++
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 1b9bddb..1961eec 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 Oct 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
+ Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE
+
14 Jun 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild,
metadata.xml:
Bump to EAPI=5 and distutils-r1.eclass
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index c265e39..53f5829 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -19,7 +19,9 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="ssl"
-DEPEND="
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
>=net-misc/omniORB-4.1.3
ssl? ( dev-libs/openssl )"
RDEPEND=${DEPEND}
@@ -61,5 +63,5 @@ src_install() {
dodoc doc/tex/*
insinto /usr/share/doc/${PF}/
- doins -r examples || die
+ doins -r examples
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:fixing commit in: dev-python/omniorbpy/
@ 2013-06-14 11:21 Justin Lecher
2013-06-14 11:21 ` [gentoo-commits] proj/sci:master " Justin Lecher
0 siblings, 1 reply; 6+ messages in thread
From: Justin Lecher @ 2013-06-14 11:21 UTC (permalink / raw
To: gentoo-commits
commit: ee9883074d40ae698fa977d34ebd00be663a7723
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 10:56:30 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 10:56:30 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee988307
dev-python/omniorbpy: Bump to EAPI=5 and distutils-r1.eclass
Package-Manager: portage-2.2.0_alpha179
---
dev-python/omniorbpy/ChangeLog | 6 ++-
dev-python/omniorbpy/metadata.xml | 2 +-
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 90 +++++++++----------------------
3 files changed, 32 insertions(+), 66 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 945098f..1b9bddb 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for dev-python/omniorbpy
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 14 Jun 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild,
+ metadata.xml:
+ Bump to EAPI=5 and distutils-r1.eclass
+
24 Jun 2011; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
Sort inherit and/or USE
diff --git a/dev-python/omniorbpy/metadata.xml b/dev-python/omniorbpy/metadata.xml
index d369d06..897aa2e 100644
--- a/dev-python/omniorbpy/metadata.xml
+++ b/dev-python/omniorbpy/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
+ <herd>sci</herd>
</pkgmetadata>
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index d78ffc6..c265e39 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="3"
+EAPI=5
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils multilib python
+inherit autotools-utils eutils multilib python-r1
MY_P=${P/omniorb/omniORB}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A robust high-performance CORBA ORB for Python."
+DESCRIPTION="A robust high-performance CORBA ORB for Python"
HOMEPAGE="http://omniorb.sourceforge.net/"
SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.gz"
@@ -21,83 +19,47 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="ssl"
-DEPEND=">=net-misc/omniORB-4.1.3
+DEPEND="
+ >=net-misc/omniORB-4.1.3
ssl? ( dev-libs/openssl )"
RDEPEND=${DEPEND}
-RESTRICT_PYTHON_ABIS="3.*"
+S=${WORKDIR}/${MY_P}
src_prepare() {
- sed -i -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
+ sed \
+ -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
-e "s/^CDEBUGFLAGS.*/CDEBUGFLAGS = ${CFLAGS}/" \
- "${S}"/mk/beforeauto.mk.in
- sed -i -e 's#^.*compileall[^\\]*#${EPREFIX}/bin/true;#' \
- "${S}"/python/dir.mk \
+ -e "s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/" \
+ -i "${S}"/mk/beforeauto.mk.in || die
+ sed \
+ -e 's#^.*compileall[^\\]*#${EPREFIX}/bin/true;#' \
+ -i "${S}"/python/dir.mk \
"${S}"/python/omniORB/dir.mk \
"${S}"/python/COS/dir.mk \
- "${S}"/python/CosNaming/dir.mk
- python_copy_sources
+ "${S}"/python/CosNaming/dir.mk || die
+ autotools-utils_src_prepare
}
src_configure() {
- configuration() {
- local myconf
- use ssl && myconf="${MY_CONF} --with-openssl=${EPREFIX}/usr"
+ local myeconfargs=( --with-omniorb="${EPREFIX}/usr" )
- PYTHON="$(PYTHON)" econf --with-omniorb="${EPREFIX}"/usr ${myconf}
- }
- python_execute_function -s configuration
+ use ssl && myconf+=( --with-openssl="${EPREFIX}/usr" )
+
+ python_foreach_impl autotools-utils_src_configure
}
src_compile() {
- python_src_compile
+ python_foreach_impl autotools-utils_src_compile
}
src_install() {
- installation() {
- # 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
-
- emake DESTDIR="${D}" install || die "install failed"
-
- # bug #166738
- mv "${ED}"$(python_get_sitedir)/PortableServer.py \
- "${ED}"$(python_get_sitedir)/omniorbpy_PortableServer.py
+ python_foreach_impl autotools-utils_src_install
- mv "${ED}"$(python_get_sitedir)/CORBA.py \
- "${ED}"$(python_get_sitedir)/omniorbpy_CORBA.py
-
- rm "${ED}"$(python_get_sitedir)/omniidl_be/__init__.py*
-
- # fixed the file collision from bug #247851
- rm "${ED}"$(python_get_sitedir)/__init__.py
- }
- python_execute_function -s installation
-
- dodoc COPYING.LIB README.txt README.Python || die
- dohtml -r doc/omniORBpy || die
- dodoc doc/omniORBpy.p* || die # ps,pdf
- dodoc doc/tex/* || die # .bib, .tex
+ dohtml -r doc/omniORBpy
+ dodoc doc/omniORBpy.p*
+ dodoc doc/tex/*
insinto /usr/share/doc/${PF}/
doins -r examples || die
-
-}
-
-pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)
-}
-
-pkg_postrm() {
- python_mod_cleanup
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
2013-06-14 11:21 [gentoo-commits] proj/sci:fixing " Justin Lecher
@ 2013-06-14 11:21 ` Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2013-06-14 11:21 UTC (permalink / raw
To: gentoo-commits
commit: ee9883074d40ae698fa977d34ebd00be663a7723
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 10:56:30 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 10:56:30 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee988307
dev-python/omniorbpy: Bump to EAPI=5 and distutils-r1.eclass
Package-Manager: portage-2.2.0_alpha179
---
dev-python/omniorbpy/ChangeLog | 6 ++-
dev-python/omniorbpy/metadata.xml | 2 +-
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 90 +++++++++----------------------
3 files changed, 32 insertions(+), 66 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index 945098f..1b9bddb 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for dev-python/omniorbpy
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 14 Jun 2013; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild,
+ metadata.xml:
+ Bump to EAPI=5 and distutils-r1.eclass
+
24 Jun 2011; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
Sort inherit and/or USE
diff --git a/dev-python/omniorbpy/metadata.xml b/dev-python/omniorbpy/metadata.xml
index d369d06..897aa2e 100644
--- a/dev-python/omniorbpy/metadata.xml
+++ b/dev-python/omniorbpy/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
+ <herd>sci</herd>
</pkgmetadata>
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index d78ffc6..c265e39 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="3"
+EAPI=5
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils multilib python
+inherit autotools-utils eutils multilib python-r1
MY_P=${P/omniorb/omniORB}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A robust high-performance CORBA ORB for Python."
+DESCRIPTION="A robust high-performance CORBA ORB for Python"
HOMEPAGE="http://omniorb.sourceforge.net/"
SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.gz"
@@ -21,83 +19,47 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="ssl"
-DEPEND=">=net-misc/omniORB-4.1.3
+DEPEND="
+ >=net-misc/omniORB-4.1.3
ssl? ( dev-libs/openssl )"
RDEPEND=${DEPEND}
-RESTRICT_PYTHON_ABIS="3.*"
+S=${WORKDIR}/${MY_P}
src_prepare() {
- sed -i -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
+ sed \
+ -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \
-e "s/^CDEBUGFLAGS.*/CDEBUGFLAGS = ${CFLAGS}/" \
- "${S}"/mk/beforeauto.mk.in
- sed -i -e 's#^.*compileall[^\\]*#${EPREFIX}/bin/true;#' \
- "${S}"/python/dir.mk \
+ -e "s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/" \
+ -i "${S}"/mk/beforeauto.mk.in || die
+ sed \
+ -e 's#^.*compileall[^\\]*#${EPREFIX}/bin/true;#' \
+ -i "${S}"/python/dir.mk \
"${S}"/python/omniORB/dir.mk \
"${S}"/python/COS/dir.mk \
- "${S}"/python/CosNaming/dir.mk
- python_copy_sources
+ "${S}"/python/CosNaming/dir.mk || die
+ autotools-utils_src_prepare
}
src_configure() {
- configuration() {
- local myconf
- use ssl && myconf="${MY_CONF} --with-openssl=${EPREFIX}/usr"
+ local myeconfargs=( --with-omniorb="${EPREFIX}/usr" )
- PYTHON="$(PYTHON)" econf --with-omniorb="${EPREFIX}"/usr ${myconf}
- }
- python_execute_function -s configuration
+ use ssl && myconf+=( --with-openssl="${EPREFIX}/usr" )
+
+ python_foreach_impl autotools-utils_src_configure
}
src_compile() {
- python_src_compile
+ python_foreach_impl autotools-utils_src_compile
}
src_install() {
- installation() {
- # 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
-
- emake DESTDIR="${D}" install || die "install failed"
-
- # bug #166738
- mv "${ED}"$(python_get_sitedir)/PortableServer.py \
- "${ED}"$(python_get_sitedir)/omniorbpy_PortableServer.py
+ python_foreach_impl autotools-utils_src_install
- mv "${ED}"$(python_get_sitedir)/CORBA.py \
- "${ED}"$(python_get_sitedir)/omniorbpy_CORBA.py
-
- rm "${ED}"$(python_get_sitedir)/omniidl_be/__init__.py*
-
- # fixed the file collision from bug #247851
- rm "${ED}"$(python_get_sitedir)/__init__.py
- }
- python_execute_function -s installation
-
- dodoc COPYING.LIB README.txt README.Python || die
- dohtml -r doc/omniORBpy || die
- dodoc doc/omniORBpy.p* || die # ps,pdf
- dodoc doc/tex/* || die # .bib, .tex
+ dohtml -r doc/omniORBpy
+ dodoc doc/omniORBpy.p*
+ dodoc doc/tex/*
insinto /usr/share/doc/${PF}/
doins -r examples || die
-
-}
-
-pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)
-}
-
-pkg_postrm() {
- python_mod_cleanup
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/
@ 2011-06-24 17:09 Justin Lecher
0 siblings, 0 replies; 6+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
To: gentoo-commits
commit: 78c4a3d9418b6d73b99bc62fa80de2f7f8102935
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 12:13:16 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 12:13:16 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=78c4a3d9
Sort inherit and/or USE
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
dev-python/omniorbpy/ChangeLog | 5 ++++-
dev-python/omniorbpy/omniorbpy-3.4.ebuild | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-python/omniorbpy/ChangeLog b/dev-python/omniorbpy/ChangeLog
index f1d4e58..945098f 100644
--- a/dev-python/omniorbpy/ChangeLog
+++ b/dev-python/omniorbpy/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for dev-python/omniorbpy
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Jun 2011; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
+ Sort inherit and/or USE
+
26 Jun 2010; Justin Lecher <jlec@gentoo.org> omniorbpy-3.4.ebuild:
Python ABI fixes
diff --git a/dev-python/omniorbpy/omniorbpy-3.4.ebuild b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
index f903ffd..d78ffc6 100644
--- a/dev-python/omniorbpy/omniorbpy-3.4.ebuild
+++ b/dev-python/omniorbpy/omniorbpy-3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -7,7 +7,7 @@ EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
-inherit eutils python multilib
+inherit eutils multilib python
MY_P=${P/omniorb/omniORB}
S=${WORKDIR}/${MY_P}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-22 18:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 17:17 [gentoo-commits] proj/sci:master commit in: dev-python/omniorbpy/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2020-09-22 18:38 Aisha Tammy
2015-04-08 9:27 Justin Lecher
2013-10-16 4:49 Nicolas Bock
2013-06-14 11:21 [gentoo-commits] proj/sci:fixing " Justin Lecher
2013-06-14 11:21 ` [gentoo-commits] proj/sci:master " Justin Lecher
2011-06-24 17:09 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox