diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-08 17:40:45 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-08 17:40:45 +0000 |
commit | bdae6d3c36b38959b487ab6534eb69cef11cf8df (patch) | |
tree | efbd8628ea5c3f45ca9f1b88aa761d434f22ece7 /dev-python/pyorbit/pyorbit-2.24.0.ebuild | |
parent | Restrict tests as package requires to be installed before tests could run (bu... (diff) | |
download | historical-bdae6d3c36b38959b487ab6534eb69cef11cf8df.tar.gz historical-bdae6d3c36b38959b487ab6534eb69cef11cf8df.tar.bz2 historical-bdae6d3c36b38959b487ab6534eb69cef11cf8df.zip |
Delete calls to deprecated python_version().
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyorbit/pyorbit-2.24.0.ebuild')
-rw-r--r-- | dev-python/pyorbit/pyorbit-2.24.0.ebuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/dev-python/pyorbit/pyorbit-2.24.0.ebuild b/dev-python/pyorbit/pyorbit-2.24.0.ebuild index aeb825eea711..1864f16cf1ab 100644 --- a/dev-python/pyorbit/pyorbit-2.24.0.ebuild +++ b/dev-python/pyorbit/pyorbit-2.24.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.24.0.ebuild,v 1.11 2010/01/17 23:43:06 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.24.0.ebuild,v 1.12 2010/06/08 17:40:45 arfrever Exp $ inherit python gnome2 multilib @@ -30,19 +30,14 @@ src_install() { [[ -z ${ED} ]] && local ED=${D} gnome2_src_install - python_version - mv "${ED}"/usr/$(get_libdir)/python${PYVER}/site-packages/CORBA.py \ - "${ED}"/usr/$(get_libdir)/python${PYVER}/site-packages/pyorbit_CORBA.py - - mv "${ED}"/usr/$(get_libdir)/python${PYVER}/site-packages/PortableServer.py \ - "${ED}"/usr/$(get_libdir)/python${PYVER}/site-packages/pyorbit_PortableServer.py + mv "${ED}"$(python_get_sitedir)/{CORBA.py,pyorbit_CORBA.py} + mv "${ED}"$(python_get_sitedir)/{PortableServer.py,pyorbit_PortableServer.py} } pkg_postinst() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages + python_mod_optimize $(python_get_sitedir)/{pyorbit_CORBA.py,pyorbit_PortableServer.py} } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup $(python_get_sitedir)/{pyorbit_CORBA.py,pyorbit_PortableServer.py} } |