Don't install .la files in site-packages directories.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Sat, 22 May 2010 20:17:05 +0000 (20:17 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Sat, 22 May 2010 20:17:05 +0000 (20:17 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

dev-python/pygtk/pygtk-2.14.1-r1.ebuild
dev-python/pygtk/pygtk-2.14.1-r2.ebuild
dev-python/pygtk/pygtk-2.16.0-r1.ebuild
dev-python/sexy-python/sexy-python-0.1.9-r1.ebuild

index 3fd8296f08ab3dbaad12cb40a18e0fc0fb436020..0cb8ec264e9ccc463846721109565cf42f5a77b5 100644 (file)
@@ -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
index 37f9bd4d5b4c224935909b87501761eba9727796..2803db67c250bb2db85ba487b6d04521ed5e8d34 100644 (file)
@@ -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
index 6ea1717e1db842549cbaf02fcaae6c2b30d890af..4e61b05e7d6f6262b5234a4ec548afd34840c9c7 100644 (file)
@@ -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
 
index 2050f20f6dec5ccd0420e06548952e96ace1f081..142b30dfbcb0b66bda5a18a62f5f421591385bff 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sexy-python/sexy-python-0.1.9-r1.ebuild,v 1.7 2010/02/28 12:46:36 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sexy-python/sexy-python-0.1.9-r1.ebuild,v 1.8 2010/05/22 20:17:05 arfrever Exp $
 
-EAPI="2"
+EAPI="3"
 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
 SUPPORT_PYTHON_ABIS="1"
 
@@ -25,5 +25,6 @@ RESTRICT_PYTHON_ABIS="3.*"
 
 src_install() {
        python_src_install
+       python_clean_installation_image
        dodoc AUTHORS ChangeLog NEWS README
 }