summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-05-29 16:43:31 +0000
committerFabian Groffen <grobian@gentoo.org>2010-05-29 16:43:31 +0000
commit6aaf430cf3694ea0348620ea2c442ee54470d2a9 (patch)
tree17cd85b8c80a85da53439ea4a34d380f363c7767 /sci-visualization
parentFix deletion of empty parent directories in _python_clean_compiled_modules(). (diff)
downloadgentoo-2-6aaf430cf3694ea0348620ea2c442ee54470d2a9.tar.gz
gentoo-2-6aaf430cf3694ea0348620ea2c442ee54470d2a9.tar.bz2
gentoo-2-6aaf430cf3694ea0348620ea2c442ee54470d2a9.zip
Fix Prefix awareness (python_ functions don't return the prefix)
(Portage version: 2.2.00.15842-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/hippodraw/ChangeLog6
-rw-r--r--sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild20
2 files changed, 15 insertions, 11 deletions
diff --git a/sci-visualization/hippodraw/ChangeLog b/sci-visualization/hippodraw/ChangeLog
index 9378241a6358..7ebc1b8f6d1d 100644
--- a/sci-visualization/hippodraw/ChangeLog
+++ b/sci-visualization/hippodraw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/hippodraw
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.16 2010/05/21 19:08:31 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.17 2010/05/29 16:43:31 grobian Exp $
+
+ 29 May 2010; Fabian Groffen <grobian@gentoo.org>
+ hippodraw-1.21.3-r3.ebuild:
+ Fix Prefix awareness (python_ functions don't return the prefix)
*hippodraw-1.21.3-r3 (21 May 2010)
diff --git a/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild b/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild
index dee0b2b7b55c..ae09674a41c2 100644
--- a/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild
+++ b/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild
@@ -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/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild,v 1.2 2010/05/23 14:07:59 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.21.3-r3.ebuild,v 1.3 2010/05/29 16:43:31 grobian Exp $
-EAPI=3
+EAPI="3"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="threads"
@@ -122,10 +122,10 @@ src_compile() {
python_copy_sources python
compilation() {
emake \
- PYTHON_INCLUDES="$(python_get_includedir)" \
- PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
- NUMARRAY_INCLUDE="$(python_get_sitedir)/numpy/core/include" \
- PY_INCLUDE="$(python_get_includedir)"
+ PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
+ PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
+ NUMARRAY_INCLUDE="${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
+ PY_INCLUDE="${EPREFIX}$(python_get_includedir)"
}
python_execute_function -s --source-dir python compilation
}
@@ -134,10 +134,10 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
installation() {
emake DESTDIR="${D}" \
- PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
- docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
- exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
- install
+ PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
+ docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
+ exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
+ install
}
python_execute_function -s --source-dir python installation
python_clean_installation_image