diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2015-11-13 16:43:43 -0600 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2015-11-13 16:43:43 -0600 |
commit | b72c3ed4b1812dd13e9eb62cca584f4f1d9b3029 (patch) | |
tree | 09952471f011e7ab8e805f4b5fd41dbbb5ca8327 /sci-visualization/yt | |
parent | sys-kernel/hardened-sources: remove older unstable versions. (diff) | |
download | gentoo-b72c3ed4b1812dd13e9eb62cca584f4f1d9b3029.tar.gz gentoo-b72c3ed4b1812dd13e9eb62cca584f4f1d9b3029.tar.bz2 gentoo-b72c3ed4b1812dd13e9eb62cca584f4f1d9b3029.zip |
Version bump
Package-Manager: portage-2.2.20
Diffstat (limited to 'sci-visualization/yt')
-rw-r--r-- | sci-visualization/yt/Manifest | 1 | ||||
-rw-r--r-- | sci-visualization/yt/yt-3.2.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-visualization/yt/Manifest b/sci-visualization/yt/Manifest index 3c612e1633b6..5b632d605692 100644 --- a/sci-visualization/yt/Manifest +++ b/sci-visualization/yt/Manifest @@ -1,2 +1,3 @@ DIST yt-3.2.1.tar.gz 7048102 SHA256 6c540a269ae3c84d6355da19ea9d8e5a7808e0cc069f803ea773502641ca7fcf SHA512 e2cc53d16f9ac5946e6830d3697baa132a519c95fa76f3ac5160e63ec928742e79aae02241bbf9953f79511d2b633d2d14744ff9e706288ff20141b0ce12033c WHIRLPOOL 1bb749136e30c62c2e40d5e0fa659d7549e0e6fdf75c5888e414f3077c555a34d157a3ac0225dfbbe0eebd02e1972a06a0a6c3683af14952bc88d959e4e8d107 +DIST yt-3.2.2.tar.gz 7428532 SHA256 78866f51e4751534ad60987000f149a8295952b99b37ca249d45e4d11095a5df SHA512 5e8ad307103242cc75a4206b454653cb421bfaaa8e73fcf0a58197aa7adf39f5b1a5f577ee834cb64b68ab6734ec1bd32a96dc1dfe4ca6d85a08f09202c7b19e WHIRLPOOL 5345c6cdd0a57f81d74cb05d92ef64e3c251f08f75cdeccab8ad70bfded2d72262f6ab345ef111d0b023934bb96091c467f2996645ed6d45f6e422f2e6ff3d97 DIST yt-3.2.tar.gz 23845436 SHA256 5c3b91b5886904c1a569b7d38c1ae574ca79b47adf7ba867a2044b4b55afacba SHA512 d3452a07c9d8e53d291816a73023d73bf97367f7f974dc0e52993af7a0e38675983295a52fd73b50a00bad925e3a7b780dfb75f588d7a59d8020539baa9847d4 WHIRLPOOL 742c3dca8ff4dd703dc93004bbb56d0957e8b5678c1fcb8c96d30586b8c65087b66e70e1440ae5e314f355a59edb46cab6c76d4224c96316bf0e5c064cc6bc7e diff --git a/sci-visualization/yt/yt-3.2.2.ebuild b/sci-visualization/yt/yt-3.2.2.ebuild new file mode 100644 index 000000000000..34cc28567419 --- /dev/null +++ b/sci-visualization/yt/yt-3.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} ) + +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="media-libs/libpng:0= + sci-libs/hdf5:= + dev-python/numpy[${PYTHON_USEDEP}]" +RDEPEND="${CDEPEND} + dev-python/ipython[notebook,${PYTHON_USEDEP}] + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}]" +# dev-python/pyx[${PYTHON_USEDEP}] +DEPEND="${CDEPEND} + >=dev-python/cython-0.22[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + append-flags -fno-strict-aliasing + sed -i yt/utilities/setup.py \ + -e "s:/usr:${EPREFIX}/usr:g" || die + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}"/lib > /dev/null + nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}" + popd > /dev/null +} |