From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/vo: vo-0.7.ebuild ChangeLog |
Date: | Tue, 02 Aug 2011 23:34:33 |
Message-Id: | 20110802233421.954D82004C@flycatcher.gentoo.org |
1 | bicatali 11/08/02 23:34:21 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vo-0.7.ebuild |
5 | Log: |
6 | Version bump. Re-introduced tests |
7 | |
8 | (Portage version: 2.1.10.9/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.5 dev-python/vo/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/vo/ChangeLog?rev=1.5&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/vo/ChangeLog?rev=1.5&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/vo/ChangeLog?r1=1.4&r2=1.5 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v |
20 | retrieving revision 1.4 |
21 | retrieving revision 1.5 |
22 | diff -u -r1.4 -r1.5 |
23 | --- ChangeLog 7 Jan 2011 18:31:44 -0000 1.4 |
24 | +++ ChangeLog 2 Aug 2011 23:34:21 -0000 1.5 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/vo |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.4 2011/01/07 18:31:44 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.5 2011/08/02 23:34:21 bicatali Exp $ |
30 | + |
31 | +*vo-0.7 (02 Aug 2011) |
32 | + |
33 | + 02 Aug 2011; Sébastien Fabbro <bicatali@g.o> +vo-0.7.ebuild: |
34 | + Version bump. Re-introduced tests |
35 | |
36 | 10 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 | vo-0.6.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/vo/vo-0.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/vo/vo-0.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/vo/vo-0.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: vo-0.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/vo/vo-0.7.ebuild,v 1.1 2011/08/02 23:34:21 bicatali Exp $ |
51 | |
52 | EAPI=3 |
53 | |
54 | PYTHON_DEPEND="*:2.5" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | RESTRICT_PYTHON_ABIS="2.4" |
57 | DISTUTILS_SRC_TEST="nosetests" |
58 | |
59 | inherit distutils eutils |
60 | |
61 | DESCRIPTION="Python module to read VOTABLE into a Numpy recarray" |
62 | HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib" |
63 | SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz" |
64 | |
65 | IUSE="examples" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86" |
68 | LICENSE="BSD" |
69 | |
70 | RDEPEND="dev-libs/expat" |
71 | DEPEND="${RDEPEND}" |
72 | |
73 | src_prepare() { |
74 | epatch "${FILESDIR}"/${PN}-0.6-expat.patch |
75 | } |
76 | |
77 | src_test() { |
78 | cd test |
79 | testing() { |
80 | PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \ |
81 | "$(PYTHON)" benchmarks.py || die "test failed with Python ${PYTHON_ABI}" |
82 | } |
83 | python_execute_function testing |
84 | } |
85 | |
86 | src_install() { |
87 | distutils_src_install |
88 | if use examples; then |
89 | insinto /usr/share/doc/${PF}/ |
90 | doins -r examples || die |
91 | fi |
92 | } |