summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-06 23:55:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-06 23:55:57 +0000
commit6f491ca54c2ce1c4e5efb200f1432542ddeee76b (patch)
tree4b6a7c01fc3989728378a059a4f318928eb26a9b /sci-astronomy
parentUpdated DESCRIPTION var (diff)
downloadgentoo-2-6f491ca54c2ce1c4e5efb200f1432542ddeee76b.tar.gz
gentoo-2-6f491ca54c2ce1c4e5efb200f1432542ddeee76b.tar.bz2
gentoo-2-6f491ca54c2ce1c4e5efb200f1432542ddeee76b.zip
Version bump
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/pyephem/ChangeLog10
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.2.1.ebuild31
-rw-r--r--sci-astronomy/pyephem/pyephem-3.7.3.3.ebuild (renamed from sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild)17
3 files changed, 14 insertions, 44 deletions
diff --git a/sci-astronomy/pyephem/ChangeLog b/sci-astronomy/pyephem/ChangeLog
index d640abe90cae..ee4f32107a0e 100644
--- a/sci-astronomy/pyephem/ChangeLog
+++ b/sci-astronomy/pyephem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/pyephem
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.6 2008/06/26 12:06:17 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/ChangeLog,v 1.7 2009/01/06 23:55:57 bicatali Exp $
+
+*pyephem-3.7.3.3 (06 Jan 2009)
+
+ 06 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ -pyephem-3.7.2.1.ebuild, -pyephem-3.7.2.3.ebuild, +pyephem-3.7.3.3.ebuild:
+ Version bump
*pyephem-3.7.2.4 (26 Jun 2008)
diff --git a/sci-astronomy/pyephem/pyephem-3.7.2.1.ebuild b/sci-astronomy/pyephem/pyephem-3.7.2.1.ebuild
deleted file mode 100644
index 782108866074..000000000000
--- a/sci-astronomy/pyephem/pyephem-3.7.2.1.ebuild
+++ /dev/null
@@ -1,31 +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.2.1.ebuild,v 1.1 2007/10/17 11:45:15 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/${PN}/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND="virtual/python"
-
-src_test() {
- cd "${S}"/build/lib*
- PYTHONPATH=. "${S}"/test || die "tests failed"
-}
-
-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"
-}
diff --git a/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild b/sci-astronomy/pyephem/pyephem-3.7.3.3.ebuild
index 315b77b89809..3ef1784374e2 100644
--- a/sci-astronomy/pyephem/pyephem-3.7.2.3.ebuild
+++ b/sci-astronomy/pyephem/pyephem-3.7.3.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7.3.3.ebuild,v 1.1 2009/01/06 23:55:57 bicatali Exp $
inherit distutils
@@ -16,19 +16,14 @@ 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
+ # remove a buggy test (it's a doc test), check next version.
+ mv src/ephem/tests/test_rst.py{,orig}
+ PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed"
}
src_install() {
distutils_src_install
- insinto /usr/share/doc/${PF}/examples
- doins examples/* || die "Failed to install examples"
+ insinto /usr/share/doc/${PF}
mv "${D}"/usr/lib*/${python}*/site-packages/ephem/doc \
"${D}"/usr/share/doc/${PF}/html || die "Failed to install doc"
}