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: metadata.xml ChangeLog pyephem-3.7.2a.ebuild
Date: Tue, 11 Sep 2007 14:50:59
Message-Id: E1IV6Fc-0002bs-1S@stork.gentoo.org
1 bicatali 07/09/11 13:58:00
2
3 Modified: metadata.xml ChangeLog
4 Added: pyephem-3.7.2a.ebuild
5 Log:
6 Version bump. Added src_test and longdescription in metadata.xml. Tested on amd64 as well. Closing bug #191883
7 (Portage version: 2.1.2.12)
8
9 Revision Changes Path
10 1.2 sci-astronomy/pyephem/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 18 Jan 2006 03:42:06 -0000 1.1
23 +++ metadata.xml 11 Sep 2007 13:57:59 -0000 1.2
24 @@ -2,4 +2,14 @@
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 <herd>sci</herd>
28 +<longdescription lang="en">
29 +PyEphem provides astronomical computations for the Python programming
30 +language. Given a date and location on the Earth's surface, it can
31 +compute the positions of the Sun and Moon, of the planets and their
32 +moons, and of any asteroids, comets, or earth satellites whose orbital
33 +elements the user can provide. Additional functions are provided to
34 +compute the angular separation between two objects in the sky, to
35 +determine the constellation in which an object lies, and to find the
36 +times at which an object rises, transits, and sets on a particular day.
37 +</longdescription>
38 </pkgmetadata>
39
40
41
42 1.3 sci-astronomy/pyephem/ChangeLog
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.3&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/ChangeLog?rev=1.3&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/ChangeLog?r1=1.2&r2=1.3
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v
51 retrieving revision 1.2
52 retrieving revision 1.3
53 diff -u -r1.2 -r1.3
54 --- ChangeLog 9 Feb 2007 05:19:53 -0000 1.2
55 +++ ChangeLog 11 Sep 2007 13:57:59 -0000 1.3
56 @@ -1,6 +1,13 @@
57 # ChangeLog for sci-astronomy/pyephem
58 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.2 2007/02/09 05:19:53 flameeyes Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.3 2007/09/11 13:57:59 bicatali Exp $
61 +
62 +*pyephem-3.7.2a (11 Sep 2007)
63 +
64 + 11 Sep 2007; Sébastien Fabbro <bicatali@g.o> metadata.xml,
65 + +pyephem-3.7.2a.ebuild:
66 + Version bump. Added src_test and longdescription in metadata.xml. Tested on
67 + amd64 as well. Closing bug #191883
68
69 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog:
70 Regenerate digest in Manifest2 format.
71
72
73
74 1.1 sci-astronomy/pyephem/pyephem-3.7.2a.ebuild
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild?rev=1.1&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild?rev=1.1&content-type=text/plain
78
79 Index: pyephem-3.7.2a.ebuild
80 ===================================================================
81 # Copyright 1999-2007 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License v2
83 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild,v 1.1 2007/09/11 13:57:59 bicatali Exp $
84
85 inherit distutils
86
87 DESCRIPTION="PyEphem provides scientific-grade astronomical computations for the python programming language."
88 LICENSE="GPL-2"
89 HOMEPAGE="http://www.rhodesmill.org/brandon/projects/pyephem.html"
90 SRC_URI="http://www.rhodesmill.org/brandon/projects/${P}.tar.gz"
91
92 SLOT="0"
93 KEYWORDS="~x86 ~amd64"
94 IUSE=""
95
96 DEPEND="virtual/python"
97
98 src_test() {
99 cd "${S}"/build/lib*
100 for t in "${S}"/test/test_*.py ; do
101 einfo "Testing $(basename ${t})"
102 PYTHONPATH=. "${python}" ${t} 2>&1 | tee test.log
103 grep -q '^OK' test.log || die "${t} failed"
104 rm -f test.log
105 done
106 }
107
108 src_install() {
109 distutils_src_install
110
111 # install docs and examples
112 dohtml doc/* || die "Failed to install html docs"
113
114 insinto /usr/share/${PN}/examples
115 doins examples/* || die "Failed to install examples"
116 }
117
118
119
120 --
121 gentoo-commits@g.o mailing list