From 4194da183983b93e201e8a969f1e9803b0f11e6b Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Mon, 5 Mar 2007 15:26:21 +0000 Subject: Add pyephem 3.7b, scientific-grade astronomical computations for Python. Submitted by: db Approved by: ehaupt (mentor) --- astro/pyephem/Makefile | 27 +++++++++++++++++++++++++++ astro/pyephem/distinfo | 3 +++ astro/pyephem/pkg-descr | 12 ++++++++++++ astro/pyephem/pkg-plist | 3 +++ 4 files changed, 45 insertions(+) create mode 100644 astro/pyephem/Makefile create mode 100644 astro/pyephem/distinfo create mode 100644 astro/pyephem/pkg-descr create mode 100644 astro/pyephem/pkg-plist (limited to 'astro/pyephem') diff --git a/astro/pyephem/Makefile b/astro/pyephem/Makefile new file mode 100644 index 000000000000..8ecd71485dd9 --- /dev/null +++ b/astro/pyephem/Makefile @@ -0,0 +1,27 @@ +# Ports collection makefile for: py-emphem +# Date created: Feb 27, 2007 +# Whom: db +# +# $FreeBSD$ +# + +PORTNAME= pyephem +PORTVERSION= 3.7b +CATEGORIES= astro math hamradio +MASTER_SITES= http://www.rhodesmill.org/brandon/projects/ \ + ${MASTER_SITE_LOCAL} + +MAINTAINER= db@FreeBSD.org +COMMENT= Scientific-grade astronomical computations for Python + +USE_PYTHON= 2.4+ +NO_BUILD= yes + +do-install: + (cd ${WRKSRC}; ${PYTHON_CMD} setup.py install) +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/pyephem-manual.html ${DOCSDIR} +.endif + +.include diff --git a/astro/pyephem/distinfo b/astro/pyephem/distinfo new file mode 100644 index 000000000000..7424215f5f03 --- /dev/null +++ b/astro/pyephem/distinfo @@ -0,0 +1,3 @@ +MD5 (pyephem-3.7b.tar.gz) = 08ddcadfef79b6020d593b7665b4c3fa +SHA256 (pyephem-3.7b.tar.gz) = f310597a3da24cf6799f233cf88914ae5d4ddb2dc8ed6e47cbf95a39fa0e9634 +SIZE (pyephem-3.7b.tar.gz) = 299901 diff --git a/astro/pyephem/pkg-descr b/astro/pyephem/pkg-descr new file mode 100644 index 000000000000..c441d36ecffe --- /dev/null +++ b/astro/pyephem/pkg-descr @@ -0,0 +1,12 @@ +PyEphem provides scientific-grade 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. + +WWW: http://www.rhodesmill.org/brandon/projects/pyephem.html + +- Diane Bruce, VA3DB diff --git a/astro/pyephem/pkg-plist b/astro/pyephem/pkg-plist new file mode 100644 index 000000000000..0137b936b11f --- /dev/null +++ b/astro/pyephem/pkg-plist @@ -0,0 +1,3 @@ +%%PYTHON_SITELIBDIR%%/ephem.so +%%PORTDOCS%%%%DOCSDIR%%/pyephem-manual.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3