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 | 8920cf37fc5a95b2b012540c4f4ab2f451514933 (patch) | |
tree | 8e207cdc401d16c88928ff9b747b02c65d1dc327 /dev-python/pyorbit | |
parent | Restrict tests as package requires to be installed before tests could run (bu... (diff) | |
download | gentoo-2-8920cf37fc5a95b2b012540c4f4ab2f451514933.tar.gz gentoo-2-8920cf37fc5a95b2b012540c4f4ab2f451514933.tar.bz2 gentoo-2-8920cf37fc5a95b2b012540c4f4ab2f451514933.zip |
Delete calls to deprecated python_version().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyorbit')
-rw-r--r-- | dev-python/pyorbit/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyorbit/pyorbit-2.14.3.ebuild | 17 | ||||
-rw-r--r-- | dev-python/pyorbit/pyorbit-2.24.0.ebuild | 15 |
3 files changed, 16 insertions, 22 deletions
diff --git a/dev-python/pyorbit/ChangeLog b/dev-python/pyorbit/ChangeLog index f8abef2e3893..4751bc876f72 100644 --- a/dev-python/pyorbit/ChangeLog +++ b/dev-python/pyorbit/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyorbit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/ChangeLog,v 1.69 2010/01/17 23:43:06 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/ChangeLog,v 1.70 2010/06/08 17:40:45 arfrever Exp $ + + 08 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyorbit-2.14.3.ebuild, pyorbit-2.24.0.ebuild: + Delete calls to deprecated python_version(). 17 Jan 2010; Jeroen Roovers <jer@gentoo.org> pyorbit-2.24.0.ebuild: Stable for HPPA (bug #281427). diff --git a/dev-python/pyorbit/pyorbit-2.14.3.ebuild b/dev-python/pyorbit/pyorbit-2.14.3.ebuild index e6d74c2b72f0..51e38938ee6d 100644 --- a/dev-python/pyorbit/pyorbit-2.14.3.ebuild +++ b/dev-python/pyorbit/pyorbit-2.14.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# 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.14.3.ebuild,v 1.12 2008/10/27 10:29:01 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyorbit/pyorbit-2.14.3.ebuild,v 1.13 2010/06/08 17:40:45 arfrever Exp $ inherit python gnome2 multilib @@ -30,19 +30,14 @@ src_install() { python_need_rebuild gnome2_src_install - python_version - 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/$(get_libdir)/python${PYVER}/site-packages/PortableServer.py \ - "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pyorbit_PortableServer.py + mv "${D}"$(python_get_sitedir)/{CORBA.py,pyorbit_CORBA.py} + mv "${D}"$(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} } 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} } |