aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Fabbro <bicatali@gentoo.org>2013-11-26 14:30:27 -0800
committerS├ębastien Fabbro <bicatali@gentoo.org>2013-11-26 14:30:27 -0800
commit2b1cfccaaa797faafe5972cd283c51cb79e10143 (patch)
treeb028b196af3e693672cb4ba2c19396c550bcb2f5 /sci-visualization
parentMasked live yt (diff)
downloadsci-2b1cfccaaa797faafe5972cd283c51cb79e10143.tar.gz
sci-2b1cfccaaa797faafe5972cd283c51cb79e10143.tar.bz2
sci-2b1cfccaaa797faafe5972cd283c51cb79e10143.zip
Tentative prefixification
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/yt/yt-2.6.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-visualization/yt/yt-2.6.ebuild b/sci-visualization/yt/yt-2.6.ebuild
index 52a349034..ec682d641 100644
--- a/sci-visualization/yt/yt-2.6.ebuild
+++ b/sci-visualization/yt/yt-2.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
CDEPEND="media-libs/freetype
@@ -35,11 +35,13 @@ DEPEND="${CDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
)"
-src_prepare() {
+python_prepare_all() {
append-flags -fno-strict-aliasing
sed -i setup.py \
-e 's:build/lib:../../../&:' || die
- distutils-r1_src_prepare
+ sed -i yt/utilities/setup.py \
+ -e "s:/usr:${EPREFIX}/usr:g" || die
+ distutils-r1_python_prepare_all
}
# TODO