diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-22 20:17:05 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-22 20:17:05 +0000 |
commit | 76fdf40039772afb7d852eec593ec861a0d2b2ad (patch) | |
tree | efea8b35d9925cf8e98332dc75ffb9d66e541ad0 /dev-python/pygtk | |
parent | Add a rough-but-working port to ruby-ng of the ebuild. (diff) | |
download | historical-76fdf40039772afb7d852eec593ec861a0d2b2ad.tar.gz historical-76fdf40039772afb7d852eec593ec861a0d2b2ad.tar.bz2 historical-76fdf40039772afb7d852eec593ec861a0d2b2ad.zip |
Don't install .la files in site-packages directories.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r-- | dev-python/pygtk/pygtk-2.14.1-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.14.1-r2.ebuild | 3 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.16.0-r1.ebuild | 37 |
3 files changed, 21 insertions, 24 deletions
diff --git a/dev-python/pygtk/pygtk-2.14.1-r1.ebuild b/dev-python/pygtk/pygtk-2.14.1-r1.ebuild index 3fd8296f08ab..0cb8ec264e9c 100644 --- a/dev-python/pygtk/pygtk-2.14.1-r1.ebuild +++ b/dev-python/pygtk/pygtk-2.14.1-r1.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/pygtk/pygtk-2.14.1-r1.ebuild,v 1.8 2009/09/06 20:57:05 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.14.1-r1.ebuild,v 1.9 2010/05/22 20:13:01 arfrever Exp $ EAPI="2" @@ -59,6 +59,7 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" + python_clean_installation_image dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO if use examples; then diff --git a/dev-python/pygtk/pygtk-2.14.1-r2.ebuild b/dev-python/pygtk/pygtk-2.14.1-r2.ebuild index 37f9bd4d5b4c..2803db67c250 100644 --- a/dev-python/pygtk/pygtk-2.14.1-r2.ebuild +++ b/dev-python/pygtk/pygtk-2.14.1-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/pygtk/pygtk-2.14.1-r2.ebuild,v 1.2 2010/01/11 16:59:58 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.14.1-r2.ebuild,v 1.3 2010/05/22 20:13:01 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -71,6 +71,7 @@ src_compile() { src_install() { python_execute_function -d -s + python_clean_installation_image dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO if use examples; then diff --git a/dev-python/pygtk/pygtk-2.16.0-r1.ebuild b/dev-python/pygtk/pygtk-2.16.0-r1.ebuild index 6ea1717e1db8..4e61b05e7d6f 100644 --- a/dev-python/pygtk/pygtk-2.16.0-r1.ebuild +++ b/dev-python/pygtk/pygtk-2.16.0-r1.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.16.0-r1.ebuild,v 1.8 2010/05/15 15:53:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.16.0-r1.ebuild,v 1.9 2010/05/22 20:13:01 arfrever Exp $ EAPI="2" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx @@ -49,26 +50,8 @@ src_prepare() { } src_configure() { - configuration() { - use hppa && append-flags -ffunction-sections - econf $(use_enable doc docs) --enable-thread - } - python_execute_function -s configuration -} - -src_compile() { - python_execute_function -d -s -} - -src_install() { - python_execute_function -d -s - dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO - - if use examples; then - rm examples/Makefile* - insinto /usr/share/doc/${PF} - doins -r examples - fi + use hppa && append-flags -ffunction-sections + python_src_configure $(use_enable doc docs) --enable-thread } src_test() { @@ -86,6 +69,18 @@ src_test() { python_execute_function -s testing } +src_install() { + python_src_install + python_clean_installation_image + dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO + + if use examples; then + rm examples/Makefile* + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + pkg_postinst() { python_mod_optimize gtk-2.0 |