summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-01-29 12:59:56 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-01-29 12:59:56 +0000
commit8ab6611914a970e6d6512e6dcafce11da948d035 (patch)
treeda15c755ed276b1a420c91884c9d645d3a0d2ba0 /sci-astronomy
parentVersion bump. (diff)
downloadgentoo-2-8ab6611914a970e6d6512e6dcafce11da948d035.tar.gz
gentoo-2-8ab6611914a970e6d6512e6dcafce11da948d035.tar.bz2
gentoo-2-8ab6611914a970e6d6512e6dcafce11da948d035.zip
Version bump and cleanup
(Portage version: 2.1.4)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/pyephem/ChangeLog10
-rw-r--r--sci-astronomy/pyephem/files/digest-pyephem-3.7.2.33
-rw-r--r--sci-astronomy/pyephem/files/digest-pyephem-3.7.2a3
-rw-r--r--sci-astronomy/pyephem/metadata.xml16
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild34
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.2a.ebuild36
6 files changed, 53 insertions, 49 deletions
diff --git a/sci-astronomy/pyephem/ChangeLog b/sci-astronomy/pyephem/ChangeLog
index 3425e169530b..f942d954fbe1 100644
--- a/sci-astronomy/pyephem/ChangeLog
+++ b/sci-astronomy/pyephem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/pyephem
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.4 2007/10/17 11:45:15 bicatali Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.5 2008/01/29 12:59:56 bicatali Exp $
+
+*pyephem-3.7.2.3 (29 Jan 2008)
+
+ 29 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ +pyephem-3.7.2.3.ebuild, -pyephem-3.7.2a.ebuild:
+ Version bump and cleanup
*pyephem-3.7.2.1 (17 Oct 2007)
diff --git a/sci-astronomy/pyephem/files/digest-pyephem-3.7.2.3 b/sci-astronomy/pyephem/files/digest-pyephem-3.7.2.3
new file mode 100644
index 000000000000..a67b5faef778
--- /dev/null
+++ b/sci-astronomy/pyephem/files/digest-pyephem-3.7.2.3
@@ -0,0 +1,3 @@
+MD5 26aec22459eb0dab2632dd6622fd60c6 pyephem-3.7.2.3.tar.gz 347953
+RMD160 c0966e0c6c32da6c5573e022b08a54e33e4df8a2 pyephem-3.7.2.3.tar.gz 347953
+SHA256 483e9f4384a2297230aef3015debaa1461bb17dfb6f20d4384efcad537baa375 pyephem-3.7.2.3.tar.gz 347953
diff --git a/sci-astronomy/pyephem/files/digest-pyephem-3.7.2a b/sci-astronomy/pyephem/files/digest-pyephem-3.7.2a
deleted file mode 100644
index 61c6e0a8ab1b..000000000000
--- a/sci-astronomy/pyephem/files/digest-pyephem-3.7.2a
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 92d035abe09b9dba39780bc66738ce23 pyephem-3.7.2a.tar.gz 300709
-RMD160 1318b491b8e5816ccec13cf3fffa764afe2ae100 pyephem-3.7.2a.tar.gz 300709
-SHA256 5e7e4a23544d9ef232913d3dc9fac3a9a6a2ced4892ce6c4d197ecbb23f89dcd pyephem-3.7.2a.tar.gz 300709
diff --git a/sci-astronomy/pyephem/metadata.xml b/sci-astronomy/pyephem/metadata.xml
index b0e5c790aa6d..baf884e7193c 100644
--- a/sci-astronomy/pyephem/metadata.xml
+++ b/sci-astronomy/pyephem/metadata.xml
@@ -3,13 +3,13 @@
<pkgmetadata>
<herd>sci</herd>
<longdescription lang="en">
-PyEphem provides astronomical computations for the Python programming
-language. Given a date and location on the Earth's surface, it can
-compute the positions of the Sun and Moon, of the planets and their
-moons, and of any asteroids, comets, or earth satellites whose orbital
-elements the user can provide. Additional functions are provided to
-compute the angular separation between two objects in the sky, to
-determine the constellation in which an object lies, and to find the
-times at which an object rises, transits, and sets on a particular day.
+ PyEphem provides astronomical computations for the Python programming
+ language. Given a date and location on the Earth's surface, it can
+ compute the positions of the Sun and Moon, of the planets and their
+ moons, and of any asteroids, comets, or earth satellites whose orbital
+ elements the user can provide. Additional functions are provided to
+ compute the angular separation between two objects in the sky, to
+ determine the constellation in which an object lies, and to find the
+ times at which an object rises, transits, and sets on a particular day.
</longdescription>
</pkgmetadata>
diff --git a/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild b/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild
new file mode 100644
index 000000000000..315b77b89809
--- /dev/null
+++ b/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild,v 1.1 2008/01/29 12:59:56 bicatali Exp $
+
+inherit distutils
+
+DESCRIPTION="Astronomical routines for the python programming language"
+LICENSE="LGPL-3"
+HOMEPAGE="http://rhodesmill.org/pyephem/pyephem.html"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+
+src_test() {
+ # python setup.py test did not work, so do it manually
+ cd build/lib*
+ for t in angles bodies constants dates usno usno_equinoxes; do
+ PYTHONPATH=. \
+ "${python}" ephem/tests/test_${t}.py \
+ || die "test_${t} failed"
+ done
+}
+
+src_install() {
+ distutils_src_install
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/* || die "Failed to install examples"
+ mv "${D}"/usr/lib*/${python}*/site-packages/ephem/doc \
+ "${D}"/usr/share/doc/${PF}/html || die "Failed to install doc"
+}
diff --git a/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild b/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild
deleted file mode 100644
index e865067b0b0d..000000000000
--- a/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.2a.ebuild,v 1.1 2007/09/11 13:57:59 bicatali Exp $
-
-inherit distutils
-
-DESCRIPTION="PyEphem provides scientific-grade astronomical computations for the python programming language."
-LICENSE="GPL-2"
-HOMEPAGE="http://www.rhodesmill.org/brandon/projects/pyephem.html"
-SRC_URI="http://www.rhodesmill.org/brandon/projects/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND="virtual/python"
-
-src_test() {
- cd "${S}"/build/lib*
- for t in "${S}"/test/test_*.py ; do
- einfo "Testing $(basename ${t})"
- PYTHONPATH=. "${python}" ${t} 2>&1 | tee test.log
- grep -q '^OK' test.log || die "${t} failed"
- rm -f test.log
- done
-}
-
-src_install() {
- distutils_src_install
-
- # install docs and examples
- dohtml doc/* || die "Failed to install html docs"
-
- insinto /usr/share/${PN}/examples
- doins examples/* || die "Failed to install examples"
-}