summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-25 14:27:04 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-25 14:27:04 +0000
commitc32ebcdf75342cfa6e3ad2e4809b4ef466a6425b (patch)
treeb7dbbb3df51f0e960b535675f19f7b099f7d3c1a /dev-python/egenix-mx-base
parentStable on alpha, bug #277294 (diff)
downloadgentoo-2-c32ebcdf75342cfa6e3ad2e4809b4ef466a6425b.tar.gz
gentoo-2-c32ebcdf75342cfa6e3ad2e4809b4ef466a6425b.tar.bz2
gentoo-2-c32ebcdf75342cfa6e3ad2e4809b4ef466a6425b.zip
Improve installation.
(Portage version: 14155-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/egenix-mx-base')
-rw-r--r--dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
index e9c3d356a6ba..88fa1ef7347a 100644
--- a/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
+++ b/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild,v 1.2 2009/08/04 23:33:39 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild,v 1.3 2009/08/25 14:27:04 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -49,4 +49,12 @@ src_install() {
dohtml -a html -r mx
insinto /usr/share/doc/${PF}
find "${S}" -iname "*.pdf" | xargs doins
+
+ installation_of_headers() {
+ dodir "$(python_get_includedir)/mx"
+ find "${D}$(python_get_sitedir)/mx" -type f -name "*.h" -print0 | while read -d $'\0' header; do
+ mv -f "${header}" "${D}$(python_get_includedir)/mx"
+ done
+ }
+ python_execute_function --action-message 'Installation of headers with Python ${PYTHON_ABI}' installation_of_headers
}