Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/pyephem: ChangeLog pyephem-3.7.4.1.ebuild
Date: Tue, 03 May 2011 16:53:02
Message-Id: 20110503165251.290BD20054@flycatcher.gentoo.org
1 bicatali 11/05/03 16:52:51
2
3 Modified: ChangeLog
4 Added: pyephem-3.7.4.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 sci-astronomy/pyephem/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 26 May 2010 15:34:44 -0000 1.10
24 +++ ChangeLog 3 May 2011 16:52:50 -0000 1.11
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-astronomy/pyephem
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.10 2010/05/26 15:34:44 xarthisius Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.11 2011/05/03 16:52:50 bicatali Exp $
31 +
32 +*pyephem-3.7.4.1 (03 May 2011)
33 +
34 + 03 May 2011; Sébastien Fabbro <bicatali@g.o> +pyephem-3.7.4.1.ebuild:
35 + Version bump
36
37 26 May 2010; Kacper Kowalik <xarthisius@g.o>
38 pyephem-3.7.3.4.ebuild:
39
40
41
42 1.1 sci-astronomy/pyephem/pyephem-3.7.4.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.4.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.4.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pyephem-3.7.4.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.4.1.ebuild,v 1.1 2011/05/03 16:52:50 bicatali Exp $
52
53 EAPI="2"
54 PYTHON_DEPEND="2:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 DISTUTILS_SRC_TEST="setup.py"
57
58 inherit distutils eutils
59
60 DESCRIPTION="Astronomical routines for the python programming language"
61 LICENSE="LGPL-3"
62 HOMEPAGE="http://rhodesmill.org/pyephem/pyephem.html"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="doc"
68 RDEPEND=""
69 DEPEND="doc? ( dev-python/sphinx )"
70 RESTRICT_PYTHON_ABIS="2.4 3.*"
71
72 src_prepare() {
73 # don't install rst files
74 sed -i -e "s:'doc/\*\.rst',::" "${S}"/setup.py || die
75 distutils_src_prepare
76 }
77
78 src_compile() {
79 distutils_src_compile
80 if use doc; then
81 cd src/ephem/doc
82 PYTHONPATH=../../.. emake html || die "Building of documentation failed"
83 fi
84 }
85
86 src_test() {
87 # remove a buggy test (it's a doc test), check next version.
88 mv src/ephem/tests/test_rst.py{,orig}
89 distutils_src_test
90 }
91
92 src_install() {
93 distutils_src_install
94 if use doc; then
95 dohtml -r src/ephem/doc/.build/html/* || die "Installation of documentation failed"
96 fi
97 }