diff options
author | wulf <wulf@pkgsrc.org> | 2006-11-13 15:55:55 +0000 |
---|---|---|
committer | wulf <wulf@pkgsrc.org> | 2006-11-13 15:55:55 +0000 |
commit | 32d9765a1f694a58743d5c72a3ffe63e6c28611d (patch) | |
tree | 622125bed670fb4ab8f76ab92b9a64eafd99e146 /math/py-ephem | |
parent | 26c17a6dab84ca6678158c99508767e806adf3a0 (diff) | |
download | pkgsrc-32d9765a1f694a58743d5c72a3ffe63e6c28611d.tar.gz |
Added new package py-ephem-3.7b:
Scientific-grade astronomical computations for Python
Diffstat (limited to 'math/py-ephem')
-rw-r--r-- | math/py-ephem/DESCR | 8 | ||||
-rw-r--r-- | math/py-ephem/Makefile | 22 | ||||
-rw-r--r-- | math/py-ephem/PLIST | 4 | ||||
-rw-r--r-- | math/py-ephem/buildlink3.mk | 19 | ||||
-rw-r--r-- | math/py-ephem/distinfo | 5 |
5 files changed, 58 insertions, 0 deletions
diff --git a/math/py-ephem/DESCR b/math/py-ephem/DESCR new file mode 100644 index 00000000000..0aa4486259b --- /dev/null +++ b/math/py-ephem/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/math/py-ephem/Makefile b/math/py-ephem/Makefile new file mode 100644 index 00000000000..abb2d464302 --- /dev/null +++ b/math/py-ephem/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $ +# + +DISTNAME= pyephem-3.7b +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/} +CATEGORIES= geography +MASTER_SITES= http://www.rhodesmill.org/brandon/projects/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html +COMMENT= Scientific-grade astronomical computations for Python + +PYDISTUTILSPKG= true +PYTHON_VERSIONS_ACCEPTED= 23 24 + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME} + ${INSTALL} ${WRKSRC}/doc/pyephem-manual.html ${PREFIX}/share/doc/${PKGNAME} + +.include "../../lang/python/extension.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/py-ephem/PLIST b/math/py-ephem/PLIST new file mode 100644 index 00000000000..28e50166a7d --- /dev/null +++ b/math/py-ephem/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $ +${PYSITELIB}/ephem.so +share/doc/${PKGNAME}/pyephem-manual.html +@dirrm share/doc/${PKGNAME} diff --git a/math/py-ephem/buildlink3.mk b/math/py-ephem/buildlink3.mk new file mode 100644 index 00000000000..660c11f21b2 --- /dev/null +++ b/math/py-ephem/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_EPHEM_BUILDLINK3_MK:= ${PY_EPHEM_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= py-ephem +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-ephem} +BUILDLINK_PACKAGES+= py-ephem +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-ephem + +.if ${PY_EPHEM_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.py-ephem+= ${PYPKGPREFIX}-ephem>=3.7b +BUILDLINK_PKGSRCDIR.py-ephem?= ../../math/py-ephem +.endif # PY_EPHEM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/math/py-ephem/distinfo b/math/py-ephem/distinfo new file mode 100644 index 00000000000..b73ce78e044 --- /dev/null +++ b/math/py-ephem/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $ + +SHA1 (pyephem-3.7b.tar.gz) = 541346dbcad966bcc8be407722132304c3d2bc3a +RMD160 (pyephem-3.7b.tar.gz) = bc1b1a8312dbc95735b6c1b82439d604992a942f +Size (pyephem-3.7b.tar.gz) = 299901 bytes |