summaryrefslogtreecommitdiff
blob: 455cfff0a61f392f6ca9405ddd1a907b91e2ece4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/pyephem/pyephem-3.7b.ebuild,v 1.1 2006/01/18 03:42:06 markusle 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"
IUSE=""

DEPEND="virtual/python"

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"
}