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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 3 21:22:37 2014 UTC (5 years, 4 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old

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

1 # Copyright 1999-2014 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.ebuild,v 1.1 2014/08/26 21:34:51 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 PATCHES=( "${FILESDIR}"/${P}-missing_package.patch )
38
39 python_prepare_all() {
40 append-flags -fno-strict-aliasing
41 sed -i yt/utilities/setup.py \
42 -e "s:/usr:${EPREFIX}/usr:g" || die
43 distutils-r1_python_prepare_all
44 }
45
46 python_test() {
47 pushd "${BUILD_DIR}"/lib > /dev/null
48 nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}"
49 popd > /dev/null
50 }

  ViewVC Help
Powered by ViewVC 1.1.20