aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2013-11-27 09:25:36 +0100
committerKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2013-11-27 09:25:36 +0100
commit2d825a50a2bbfc492e49a1c4dc5317f8bff66031 (patch)
treeeae70f2595489e619bd4defa595b5a7e4f0b2445 /sci-visualization
parentMerge github.com:gentoo-science/sci (diff)
downloadsci-2d825a50a2bbfc492e49a1c4dc5317f8bff66031.tar.gz
sci-2d825a50a2bbfc492e49a1c4dc5317f8bff66031.tar.bz2
sci-2d825a50a2bbfc492e49a1c4dc5317f8bff66031.zip
[sci-visualization/yt] fix slots in CDEPEND
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/yt/yt-2.6.ebuild6
-rw-r--r--sci-visualization/yt/yt-9999.ebuild12
2 files changed, 10 insertions, 8 deletions
diff --git a/sci-visualization/yt/yt-2.6.ebuild b/sci-visualization/yt/yt-2.6.ebuild
index ec682d641..e54f9042e 100644
--- a/sci-visualization/yt/yt-2.6.ebuild
+++ b/sci-visualization/yt/yt-2.6.ebuild
@@ -17,9 +17,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
-CDEPEND="media-libs/freetype
- media-libs/libpng
- sci-libs/hdf5"
+CDEPEND="media-libs/freetype:2
+ media-libs/libpng:0=
+ sci-libs/hdf5:="
RDEPEND="${CDEPEND}
dev-python/ipython[notebook,${PYTHON_USEDEP}]
dev-python/pyx[${PYTHON_USEDEP}]
diff --git a/sci-visualization/yt/yt-9999.ebuild b/sci-visualization/yt/yt-9999.ebuild
index c556f4e43..10c880b33 100644
--- a/sci-visualization/yt/yt-9999.ebuild
+++ b/sci-visualization/yt/yt-9999.ebuild
@@ -20,9 +20,9 @@ SLOT="0"
KEYWORDS=""
IUSE="test"
-CDEPEND="media-libs/freetype
- media-libs/libpng
- sci-libs/hdf5"
+CDEPEND="media-libs/freetype:2
+ media-libs/libpng:0=
+ sci-libs/hdf5:="
RDEPEND="${CDEPEND}
dev-python/ipython[notebook,${PYTHON_USEDEP}]
dev-python/pyx[${PYTHON_USEDEP}]
@@ -38,11 +38,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