summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 16:31:38 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 16:31:38 +0000
commit4eb9c4c0815ef822f4f745e7345da295b74d5d73 (patch)
treed88c7676c5de894fc6f68c93383363a9fb8e0107 /dev-python/pyorbit
parentpython_mod_optimize is ROOT aware. Run python_mod_cleanup in pkg_postrm. (diff)
downloadhistorical-4eb9c4c0815ef822f4f745e7345da295b74d5d73.tar.gz
historical-4eb9c4c0815ef822f4f745e7345da295b74d5d73.tar.bz2
historical-4eb9c4c0815ef822f4f745e7345da295b74d5d73.zip
Made the ebuild multilib-safe.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-python/pyorbit')
-rw-r--r--dev-python/pyorbit/ChangeLog7
-rw-r--r--dev-python/pyorbit/pyorbit-2.14.3.ebuild21
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-python/pyorbit/ChangeLog b/dev-python/pyorbit/ChangeLog
index 43a6b98b07dd..dcd124d5139c 100644
--- a/dev-python/pyorbit/ChangeLog
+++ b/dev-python/pyorbit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyorbit
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/ChangeLog,v 1.56 2007/09/22 07:18:21 tgall Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/ChangeLog,v 1.57 2008/05/29 16:31:38 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org> pyorbit-2.14.3.ebuild:
+ Made the ebuild multilib-safe.
22 Sep 2007; Tom Gall <tgall@gentoo.org> pyorbit-2.14.3.ebuild:
stable on ppc64
diff --git a/dev-python/pyorbit/pyorbit-2.14.3.ebuild b/dev-python/pyorbit/pyorbit-2.14.3.ebuild
index 801c9320fc95..42f119792eb3 100644
--- a/dev-python/pyorbit/pyorbit-2.14.3.ebuild
+++ b/dev-python/pyorbit/pyorbit-2.14.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.14.3.ebuild,v 1.10 2007/09/22 07:18:21 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.14.3.ebuild,v 1.11 2008/05/29 16:31:38 hawking Exp $
-inherit python gnome2
+inherit python gnome2 multilib
DESCRIPTION="ORBit2 bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
@@ -22,27 +22,26 @@ DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO"
src_unpack() {
unpack ${A}
# disable pyc compiling
- mv ${S}/py-compile ${S}/py-compile.orig
- ln -s $(type -P true) ${S}/py-compile
+ mv "${S}"/py-compile "${S}"/py-compile.orig
+ ln -s $(type -P true) "${S}"/py-compile
}
src_install() {
gnome2_src_install
python_version
- mv ${D}/usr/lib/python${PYVER}/site-packages/CORBA.py \
- ${D}/usr/lib/python${PYVER}/site-packages/pyorbit_CORBA.py
+ mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/CORBA.py \
+ "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pyorbit_CORBA.py
- mv ${D}/usr/lib/python${PYVER}/site-packages/PortableServer.py \
- ${D}/usr/lib/python${PYVER}/site-packages/pyorbit_PortableServer.py
+ mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/PortableServer.py \
+ "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pyorbit_PortableServer.py
}
pkg_postinst() {
python_version
- python_mod_optimize /usr/lib/python${PYVER}/site-packages
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
}
pkg_postrm() {
- python_version
python_mod_cleanup
}