Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/yt: yt-3.0.2.ebuild ChangeLog
Date: Fri, 03 Oct 2014 21:17:27
Message-Id: 20141003211721.3C6D26E01@oystercatcher.gentoo.org
1 xarthisius 14/10/03 21:17:21
2
3 Modified: ChangeLog
4 Added: yt-3.0.2.ebuild
5 Log:
6 Version bump, drop old
7
8 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
9
10 Revision Changes Path
11 1.3 sci-visualization/yt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/yt/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/yt/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/yt/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/yt/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 4 Sep 2014 22:48:30 -0000 1.2
24 +++ ChangeLog 3 Oct 2014 21:17:21 -0000 1.3
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-visualization/yt
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/ChangeLog,v 1.2 2014/09/04 22:48:30 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/ChangeLog,v 1.3 2014/10/03 21:17:21 xarthisius Exp $
30 +
31 +*yt-3.0.2 (03 Oct 2014)
32 +
33 + 03 Oct 2014; Kacper Kowalik <xarthisius@g.o> +yt-3.0.2.ebuild:
34 + Version bump, drop old
35
36 *yt-3.0.1 (04 Sep 2014)
37
38
39
40
41 1.1 sci-visualization/yt/yt-3.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/yt/yt-3.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/yt/yt-3.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: yt-3.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/yt-3.0.2.ebuild,v 1.1 2014/10/03 21:17:21 xarthisius Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 )
55
56 inherit distutils-r1 flag-o-matic
57
58 DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
59 HOMEPAGE="http://yt-project.org/"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 IUSE="test"
66
67 CDEPEND="media-libs/freetype:2
68 media-libs/libpng:0=
69 sci-libs/hdf5:="
70 RDEPEND="${CDEPEND}
71 dev-python/ipython[notebook,${PYTHON_USEDEP}]
72 dev-python/pyx[${PYTHON_USEDEP}]
73 dev-python/numpy[${PYTHON_USEDEP}]
74 dev-python/h5py[${PYTHON_USEDEP}]
75 dev-python/matplotlib[${PYTHON_USEDEP}]
76 dev-python/sympy[${PYTHON_USEDEP}]"
77 DEPEND="${CDEPEND}
78 >=dev-python/cython-0.19[${PYTHON_USEDEP}]
79 >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
80 test? ( ${RDEPEND}
81 dev-python/nose[${PYTHON_USEDEP}]
82 )"
83
84 python_prepare_all() {
85 append-flags -fno-strict-aliasing
86 sed -i yt/utilities/setup.py \
87 -e "s:/usr:${EPREFIX}/usr:g" || die
88 distutils-r1_python_prepare_all
89 }
90
91 python_test() {
92 pushd "${BUILD_DIR}"/lib > /dev/null
93 nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}"
94 popd > /dev/null
95 }