diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-22 18:10:10 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-22 18:10:10 +0000 |
commit | 852ffbe58238472a50cd8860e85c9b8e58242b26 (patch) | |
tree | 8161051299f35cfc9c4e2a5fb83ab7ccba84bedd /dev-python/pygobject | |
parent | Add ~arm (diff) | |
download | gentoo-2-852ffbe58238472a50cd8860e85c9b8e58242b26.tar.gz gentoo-2-852ffbe58238472a50cd8860e85c9b8e58242b26.tar.bz2 gentoo-2-852ffbe58238472a50cd8860e85c9b8e58242b26.zip |
Don't install .la files in site-packages directories.
Avoid deprecation warnings.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygobject')
-rw-r--r-- | dev-python/pygobject/pygobject-2.18.0-r2.ebuild | 6 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.18.0.ebuild | 8 | ||||
-rw-r--r-- | dev-python/pygobject/pygobject-2.20.0.ebuild | 6 |
3 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/pygobject/pygobject-2.18.0-r2.ebuild b/dev-python/pygobject/pygobject-2.18.0-r2.ebuild index f70eadd14f90..a2f36123d65c 100644 --- a/dev-python/pygobject/pygobject-2.18.0-r2.ebuild +++ b/dev-python/pygobject/pygobject-2.18.0-r2.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/pygobject/pygobject-2.18.0-r2.ebuild,v 1.7 2010/05/22 11:14:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.18.0-r2.ebuild,v 1.8 2010/05/22 18:10:10 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -93,6 +93,8 @@ src_install() { } python_execute_function -s installation + python_clean_installation_image + if use examples; then insinto /usr/share/doc/${P} doins -r examples @@ -110,7 +112,7 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup gtk-2.0 pygtk.py create_symlinks() { alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] diff --git a/dev-python/pygobject/pygobject-2.18.0.ebuild b/dev-python/pygobject/pygobject-2.18.0.ebuild index 801a0be7623f..1866df19251c 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-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.16 2010/05/22 11:14:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.18.0.ebuild,v 1.17 2010/05/22 18:10:10 arfrever Exp $ inherit alternatives autotools gnome2 python virtualx @@ -59,6 +59,7 @@ src_test() { src_install() { gnome2_src_install + python_clean_installation_image if use examples; then insinto /usr/share/doc/${P} @@ -70,13 +71,12 @@ src_install() { } pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/gtk-2.0 + python_mod_optimize $(python_get_sitedir)/gtk-2.0 $(python_get_sitedir)/pygtk.py 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_mod_cleanup + python_mod_cleanup $(python_get_sitedir)/gtk-2.0 $(python_get_sitedir)/pygtk.py } diff --git a/dev-python/pygobject/pygobject-2.20.0.ebuild b/dev-python/pygobject/pygobject-2.20.0.ebuild index 11d7575e0b21..bb68b370c565 100644 --- a/dev-python/pygobject/pygobject-2.20.0.ebuild +++ b/dev-python/pygobject/pygobject-2.20.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/pygobject/pygobject-2.20.0.ebuild,v 1.10 2010/05/22 11:14:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.20.0.ebuild,v 1.11 2010/05/22 18:10:10 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -94,6 +94,8 @@ src_install() { } python_execute_function -s installation + python_clean_installation_image + if use examples; then insinto /usr/share/doc/${P} doins -r examples @@ -111,7 +113,7 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup gtk-2.0 pygtk.py create_symlinks() { alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |