summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2017-01-28 17:11:18 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-29 23:51:38 +0100
commit1066bd5f13adabf1fa94ca6fecf92471717f2926 (patch)
tree66dc02607068952b9f3f8afc014edd6ac643ac96 /sci-visualization
parentsci-visualization/grace: Removing EAPI 4 ebuilds (diff)
downloadgentoo-1066bd5f13adabf1fa94ca6fecf92471717f2926.tar.gz
gentoo-1066bd5f13adabf1fa94ca6fecf92471717f2926.tar.bz2
gentoo-1066bd5f13adabf1fa94ca6fecf92471717f2926.zip
sci-visualization/yt: Version bump to 3.3.3, EAPI bump 5 -> 6
Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3703
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/yt/Manifest1
-rw-r--r--sci-visualization/yt/yt-3.3.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sci-visualization/yt/Manifest b/sci-visualization/yt/Manifest
index 039e916f0c0..3aa7dfe3187 100644
--- a/sci-visualization/yt/Manifest
+++ b/sci-visualization/yt/Manifest
@@ -1,2 +1,3 @@
DIST yt-3.2.3.tar.gz 8585635 SHA256 4d6ccf345d9fab965335c9faf8708c7eea79366b81d77f0f302808be3e82c0ed SHA512 4e77cea0370148678c816ecd7be9c7549a10e0ddd02c68bc2ea6c88f1751eec9616f5fa844781b317f2dda644dfee8ebaa2c5f6dfaef554902451295c3e6ef72 WHIRLPOOL 79df77314c8e5bc6b10d8f36d9e63174eac30b9387c7dfaa0def43555e6e2d09a4ba532276ff7971b4fe892f40a08b9c0e15f80c401d2696080fd6c185bf15f9
DIST yt-3.3.2.tar.gz 9924953 SHA256 a18e4cf498349804c64eec6509ec4d3a6beaa34ea63366543290c35774337f0e SHA512 82241087155c5d805012d2853b16d725e2d86e791036390cd363accbab049c37cbe689e56aca18c4ab7098f0fbe3250c21997a43007699911e607cd9782fb586 WHIRLPOOL 8f6389684208ddc7e93cc796fb86e64a338b0dd1145c39ec23c3adf1b1c01ec81c2fde6ae52dc7c19991efd775d15e38e7844b35d12f287281d38eb1463ae2b6
+DIST yt-3.3.3.tar.gz 8911901 SHA256 edf6453927eee311d4b51afacb52cd5504b2b57cc6d3d92dab9c6bfaf6d883df SHA512 e98325f91f7681bf6b72aef0b4e52fb78363c55c164739b18240d11eada37edc1c55cd63a9f6c32ada2414521704cae6b9f395f96245de3c15d468cddf07633a WHIRLPOOL d5c3d5e3714d666eecc588f832dd1a6de0ad60510dbd5d914f665d396ee5ed0aa1c47f741f20bacc0c30dfcfd2d6f935c16c6f6034fa99aa2396f5ffb4a257a8
diff --git a/sci-visualization/yt/yt-3.3.3.ebuild b/sci-visualization/yt/yt-3.3.3.ebuild
new file mode 100644
index 00000000000..617c30eeace
--- /dev/null
+++ b/sci-visualization/yt/yt-3.3.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+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 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+CDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${CDEPEND}
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+ >=dev-python/cython-0.24[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-20.0[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+# Test fails in 3.3.3
+RESTRICT=test
+
+python_prepare_all() {
+ append-flags -fno-strict-aliasing
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ pushd "${BUILD_DIR}"/lib >/dev/null || die
+ nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}"
+ popd >/dev/null || die
+}