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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 14 13:05:39 2015 UTC (5 years, 5 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.2.15/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.0.2.ebuild,v 1.1 2014/10/03 21:17:21 xarthisius Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
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/freetype:2
21 media-libs/libpng:0=
22 sci-libs/hdf5:="
23 RDEPEND="${CDEPEND}
24 dev-python/ipython[notebook,${PYTHON_USEDEP}]
25 dev-python/pyx[${PYTHON_USEDEP}]
26 dev-python/numpy[${PYTHON_USEDEP}]
27 dev-python/h5py[${PYTHON_USEDEP}]
28 dev-python/matplotlib[${PYTHON_USEDEP}]
29 dev-python/sympy[${PYTHON_USEDEP}]"
30 DEPEND="${CDEPEND}
31 >=dev-python/cython-0.19[${PYTHON_USEDEP}]
32 >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
33 test? ( ${RDEPEND}
34 dev-python/nose[${PYTHON_USEDEP}]
35 )"
36
37 python_prepare_all() {
38 append-flags -fno-strict-aliasing
39 sed -i yt/utilities/setup.py \
40 -e "s:/usr:${EPREFIX}/usr:g" || die
41 distutils-r1_python_prepare_all
42 }
43
44 python_test() {
45 pushd "${BUILD_DIR}"/lib > /dev/null
46 nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}"
47 popd > /dev/null
48 }

  ViewVC Help
Powered by ViewVC 1.1.20