/[gentoo-x86]/sci-visualization/yt/yt-3.2.ebuild
Gentoo

Contents of /sci-visualization/yt/yt-3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 29 03:28:38 2015 UTC (4 years, 6 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Version bump, drop old

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/yt-3.1.ebuild,v 1.1 2015/01/14 13:05:39 xarthisius Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_4} )
8
9 inherit distutils-r1 flag-o-matic
10
11 DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
12 HOMEPAGE="http://yt-project.org/"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="test"
19
20 CDEPEND="media-libs/libpng:0=
21 sci-libs/hdf5:=
22 dev-python/numpy[${PYTHON_USEDEP}]"
23 RDEPEND="${CDEPEND}
24 dev-python/ipython[notebook,${PYTHON_USEDEP}]
25 dev-python/h5py[${PYTHON_USEDEP}]
26 dev-python/matplotlib[${PYTHON_USEDEP}]
27 dev-python/sympy[${PYTHON_USEDEP}]"
28 # dev-python/pyx[${PYTHON_USEDEP}]
29 DEPEND="${CDEPEND}
30 >=dev-python/cython-0.22[${PYTHON_USEDEP}]
31 >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
32 test? ( ${RDEPEND}
33 dev-python/nose[${PYTHON_USEDEP}]
34 )"
35
36 python_prepare_all() {
37 append-flags -fno-strict-aliasing
38 sed -i yt/utilities/setup.py \
39 -e "s:/usr:${EPREFIX}/usr:g" || die
40 distutils-r1_python_prepare_all
41 }
42
43 python_test() {
44 pushd "${BUILD_DIR}"/lib > /dev/null
45 nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}"
46 popd > /dev/null
47 }

  ViewVC Help
Powered by ViewVC 1.1.20