1 |
patrick 09/09/07 20:27:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: omniorbpy-3.4.ebuild |
5 |
Log: |
6 |
Bump |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.19 dev-python/omniorbpy/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/omniorbpy/ChangeLog?rev=1.19&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/omniorbpy/ChangeLog?rev=1.19&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/omniorbpy/ChangeLog?r1=1.18&r2=1.19 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/ChangeLog,v |
19 |
retrieving revision 1.18 |
20 |
retrieving revision 1.19 |
21 |
diff -u -r1.18 -r1.19 |
22 |
--- ChangeLog 1 Nov 2008 22:45:29 -0000 1.18 |
23 |
+++ ChangeLog 7 Sep 2009 20:27:46 -0000 1.19 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/omniorbpy |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/ChangeLog,v 1.18 2008/11/01 22:45:29 caster Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/ChangeLog,v 1.19 2009/09/07 20:27:46 patrick Exp $ |
30 |
+ |
31 |
+*omniorbpy-3.4 (07 Sep 2009) |
32 |
+ |
33 |
+ 07 Sep 2009; Patrick Lauer <patrick@g.o> +omniorbpy-3.4.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*omniorbpy-3.3 (01 Nov 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/omniorbpy/omniorbpy-3.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/omniorbpy/omniorbpy-3.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/omniorbpy/omniorbpy-3.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: omniorbpy-3.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/omniorbpy/omniorbpy-3.4.ebuild,v 1.1 2009/09/07 20:27:46 patrick Exp $ |
51 |
|
52 |
inherit eutils python multilib |
53 |
|
54 |
MY_P=${P/omniorb/omniORB} |
55 |
S=${WORKDIR}/${MY_P} |
56 |
|
57 |
DESCRIPTION="A robust high-performance CORBA ORB for Python." |
58 |
HOMEPAGE="http://omniorb.sourceforge.net/" |
59 |
SRC_URI="mirror://sourceforge/omniorb/${MY_P}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
64 |
IUSE="ssl" |
65 |
|
66 |
DEPEND=">=net-misc/omniORB-4.1.3 |
67 |
ssl? ( dev-libs/openssl )" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
sed -i -e "s/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = ${CXXFLAGS}/" \ |
72 |
-e "s/^CDEBUGFLAGS.*/CDEBUGFLAGS = ${CFLAGS}/" \ |
73 |
"${S}"/mk/beforeauto.mk.in |
74 |
sed -i -e 's#^.*compileall[^\\]*#/bin/true;#' \ |
75 |
"${S}"/python/dir.mk \ |
76 |
"${S}"/python/omniORB/dir.mk \ |
77 |
"${S}"/python/COS/dir.mk \ |
78 |
"${S}"/python/CosNaming/dir.mk \ |
79 |
"${S}"/CosNaming__POA/dir.mk |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
MY_CONF="" |
84 |
|
85 |
use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr" |
86 |
|
87 |
python_version |
88 |
MY_PY="/usr/bin/python${PYVER}" |
89 |
|
90 |
PYTHON="${MY_PY}" econf --with-omniorb=/usr ${MY_CONF} |
91 |
|
92 |
emake || die "make failed" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
python_need_rebuild |
97 |
|
98 |
# make files are crap! |
99 |
sed -i -e "s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/" \ |
100 |
mk/beforeauto.mk |
101 |
|
102 |
# won't work without these really very ugly hack... |
103 |
# maybe someone can do better.. |
104 |
|
105 |
mv python/omniORB/dir.mk python/omniORB/dir.mk_orig |
106 |
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 |
107 |
|
108 |
mv python/dir.mk python/dir.mk_orig |
109 |
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 |
110 |
|
111 |
make DESTDIR="${D}" install || die "install failed" |
112 |
|
113 |
dodoc COPYING.LIB README.txt README.Python || die |
114 |
dohtml -r doc/omniORBpy || die |
115 |
dodoc doc/omniORBpy.p* || die # ps,pdf |
116 |
dodoc doc/tex/* || die # .bib, .tex |
117 |
|
118 |
dodir /usr/share/doc/${P}/examples |
119 |
cp -r examples/* "${D}"/usr/share/doc/${P}/examples |
120 |
|
121 |
# bug #166738 |
122 |
python_version |
123 |
mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/PortableServer.py \ |
124 |
"${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/omniorbpy_PortableServer.py |
125 |
|
126 |
mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/CORBA.py \ |
127 |
"${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/omniorbpy_CORBA.py |
128 |
|
129 |
rm "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl_be/__init__.py* |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
python_version |
134 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
135 |
} |
136 |
|
137 |
pkg_postrm() { |
138 |
python_mod_cleanup |
139 |
} |