diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-02 21:29:10 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-02 21:29:10 +0000 |
commit | 289146e378ada8bee42e34abeeca9a6408c528dd (patch) | |
tree | 65302c675e4050ce239b514cecc34a19bf74b574 | |
parent | Build fix for unixODBC-2.2.14 (bug #310923 by Martin von Gagern). (diff) | |
download | gentoo-2-289146e378ada8bee42e34abeeca9a6408c528dd.tar.gz gentoo-2-289146e378ada8bee42e34abeeca9a6408c528dd.tar.bz2 gentoo-2-289146e378ada8bee42e34abeeca9a6408c528dd.zip |
Don't call deprecated python_version() (bug #312291).
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pygobject/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.18.0.ebuild | 21 |
2 files changed, 13 insertions, 14 deletions
diff --git a/dev-python/pygobject/ChangeLog b/dev-python/pygobject/ChangeLog index a6ff20012956..0dc652841a91 100644 --- a/dev-python/pygobject/ChangeLog +++ b/dev-python/pygobject/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pygobject # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.89 2010/03/19 17:04:42 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.90 2010/04/02 21:29:10 arfrever Exp $ + + 02 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pygobject-2.18.0.ebuild: + Don't call deprecated python_version() (bug #312291). 19 Mar 2010; Pacho Ramos <pacho@gentoo.org> pygobject-2.20.0.ebuild, +files/pygobject-2.20.0-tmpdir-makefile.patch: diff --git a/dev-python/pygobject/pygobject-2.18.0.ebuild b/dev-python/pygobject/pygobject-2.18.0.ebuild index 540963cd1a05..75abcbebb53c 100644 --- a/dev-python/pygobject/pygobject-2.18.0.ebuild +++ b/dev-python/pygobject/pygobject-2.18.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 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/pygobject/pygobject-2.18.0.ebuild,v 1.14 2009/12/29 21:50:57 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.18.0.ebuild,v 1.15 2010/04/02 21:29:10 arfrever Exp $ inherit alternatives autotools gnome2 python virtualx @@ -65,23 +65,18 @@ src_install() { doins -r examples fi - python_version - mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ - "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 - mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ - "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 + mv "${D}"$(python_get_sitedir)/pygtk.py "${D}"$(python_get_sitedir)/pygtk.py-2.0 + mv "${D}"$(python_get_sitedir)/pygtk.pth "${D}"$(python_get_sitedir)/pygtk.pth-2.0 } pkg_postinst() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 - alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] - alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] - python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py + python_mod_optimize $(python_get_sitedir)/gtk-2.0 + alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] + alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] + python_mod_compile $(python_get_sitedir)/pygtk.py python_need_rebuild } pkg_postrm() { - python_version python_mod_cleanup } |