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