aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2013-11-26 20:13:38 +0100
committerKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2013-11-26 20:13:38 +0100
commit1603e651b8b1159088ed75dc0738e326171f054d (patch)
tree91f68dac05d6bc7800784d02baf7c256df46b337 /sci-visualization
parentsci-chemistry/freeon-2013.09.12: Updated md5 checksum on tar dist. (diff)
downloadsci-1603e651b8b1159088ed75dc0738e326171f054d.tar.gz
sci-1603e651b8b1159088ed75dc0738e326171f054d.tar.bz2
sci-1603e651b8b1159088ed75dc0738e326171f054d.zip
[sci-visualization/yt] version bump
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/yt/Manifest1
-rw-r--r--sci-visualization/yt/yt-2.6.ebuild48
-rw-r--r--sci-visualization/yt/yt-9999.ebuild16
3 files changed, 61 insertions, 4 deletions
diff --git a/sci-visualization/yt/Manifest b/sci-visualization/yt/Manifest
new file mode 100644
index 000000000..0e4b9dda4
--- /dev/null
+++ b/sci-visualization/yt/Manifest
@@ -0,0 +1 @@
+DIST yt-2.6.tar.gz 2327271 SHA256 5dce4c865c4e390ed1b7e6e3bf89a8d89014f32eb5669a219d7d468c58c04459 SHA512 cbd20db03b1cd5fe8fff3b24d51de13ef620add8f0808a50e45efe9568efba008c23625f1cd8edb3adc5315bc2ebc2898032bdf9f9611df1148569975c9fdf1c WHIRLPOOL 41be52855ae6f915aac2393a02cc014fc7023222b82c7a68365a32780509968ec817f55600dbc6608f51f068d3a70bc488310c7716d38bb5d9388d8b1c49c95f
diff --git a/sci-visualization/yt/yt-2.6.ebuild b/sci-visualization/yt/yt-2.6.ebuild
new file mode 100644
index 000000000..52a349034
--- /dev/null
+++ b/sci-visualization/yt/yt-2.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
+HOMEPAGE="http://yt-project.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="media-libs/freetype
+ media-libs/libpng
+ sci-libs/hdf5"
+RDEPEND="${CDEPEND}
+ dev-python/ipython[notebook,${PYTHON_USEDEP}]
+ dev-python/pyx[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+ dev-python/Forthon[${PYTHON_USEDEP}]
+ >=dev-python/cython-0.19[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+src_prepare() {
+ append-flags -fno-strict-aliasing
+ sed -i setup.py \
+ -e 's:build/lib:../../../&:' || die
+ distutils-r1_src_prepare
+}
+
+# TODO
+#python_test() {
+# nosetests || die
+#}
diff --git a/sci-visualization/yt/yt-9999.ebuild b/sci-visualization/yt/yt-9999.ebuild
index 39886ced3..c556f4e43 100644
--- a/sci-visualization/yt/yt-9999.ebuild
+++ b/sci-visualization/yt/yt-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
EHG_REPO_URI="https://bitbucket.org/yt_analysis/yt"
EHG_REVISION="yt"
@@ -14,7 +15,7 @@ DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
HOMEPAGE="http://yt-project.org/"
SRC_URI=""
-LICENSE="GPL-3"
+LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="test"
@@ -30,12 +31,19 @@ RDEPEND="${CDEPEND}
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
- dev-python/Forthon[${PYTHON_USEDEP}]
+ dev-python/Forthon[${PYTHON_USEDEP}]
>=dev-python/cython-0.19[${PYTHON_USEDEP}]
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
- )"
+ )"
+
+src_prepare() {
+ append-flags -fno-strict-aliasing
+ sed -i setup.py \
+ -e 's:build/lib:../../../&:' || die
+ distutils-r1_src_prepare
+}
# TODO
#python_test() {