summaryrefslogtreecommitdiff
path: root/math/py-ephem3
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-20 12:50:31 +0000
committerwiz <wiz>2014-01-20 12:50:31 +0000
commita20d45a41936dba98cd7ea7c49e082c2ecee71de (patch)
tree46486d479cf52fad71f97b431b15e89f35ed0f81 /math/py-ephem3
parent7bd27d368a1f568a24da17e8923d0a2fd4eb6a90 (diff)
downloadpkgsrc-a20d45a41936dba98cd7ea7c49e082c2ecee71de.tar.gz
Import py33-ephem-3.7.5.1 as math/py-ephem3.
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.
Diffstat (limited to 'math/py-ephem3')
-rw-r--r--math/py-ephem3/DESCR8
-rw-r--r--math/py-ephem3/Makefile36
-rw-r--r--math/py-ephem3/PLIST101
-rw-r--r--math/py-ephem3/distinfo5
4 files changed, 150 insertions, 0 deletions
diff --git a/math/py-ephem3/DESCR b/math/py-ephem3/DESCR
new file mode 100644
index 00000000000..0aa4486259b
--- /dev/null
+++ b/math/py-ephem3/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-ephem3/Makefile b/math/py-ephem3/Makefile
new file mode 100644
index 00000000000..6d4f04d6d1b
--- /dev/null
+++ b/math/py-ephem3/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/01/20 12:50:31 wiz Exp $
+
+DISTNAME= ephem-3.7.5.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
+CATEGORIES= geography math
+MASTER_SITES= http://pypi.python.org/packages/source/e/ephem/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/ephem/
+COMMENT= Scientific-grade astronomical computations for Python
+LICENSE= gnu-lgpl-v3 OR gnu-gpl-v3
+
+do-test:
+ (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${MAKE_ENV} \
+ ${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "test")
+
+PYTHON_VERSIONS_INCOMPATIBLE= 26 27
+
+REPLACE_PYTHON+= src/ephem/tests/test_angles.py
+REPLACE_PYTHON+= src/ephem/tests/test_bodies.py
+REPLACE_PYTHON+= src/ephem/tests/test_cities.py
+REPLACE_PYTHON+= src/ephem/tests/test_constants.py
+REPLACE_PYTHON+= src/ephem/tests/test_dates.py
+REPLACE_PYTHON+= src/ephem/tests/test_jpl.py
+REPLACE_PYTHON+= src/ephem/tests/test_launchpad_236872.py
+REPLACE_PYTHON+= src/ephem/tests/test_launchpad_244811.py
+REPLACE_PYTHON+= src/ephem/tests/test_locales.py
+REPLACE_PYTHON+= src/ephem/tests/test_observers.py
+REPLACE_PYTHON+= src/ephem/tests/test_rst.py
+REPLACE_PYTHON+= src/ephem/tests/test_stars.py
+REPLACE_PYTHON+= src/ephem/tests/test_usno.py
+REPLACE_PYTHON+= src/ephem/tests/test_usno_equinoxes.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-ephem3/PLIST b/math/py-ephem3/PLIST
new file mode 100644
index 00000000000..1a779ee0bfc
--- /dev/null
+++ b/math/py-ephem3/PLIST
@@ -0,0 +1,101 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/20 12:50:31 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/ephem/__init__.py
+${PYSITELIB}/ephem/__init__.pyc
+${PYSITELIB}/ephem/__init__.pyo
+${PYSITELIB}/ephem/_libastro.so
+${PYSITELIB}/ephem/cities.py
+${PYSITELIB}/ephem/cities.pyc
+${PYSITELIB}/ephem/cities.pyo
+${PYSITELIB}/ephem/doc/CHANGELOG.rst
+${PYSITELIB}/ephem/doc/angle.rst
+${PYSITELIB}/ephem/doc/catalogs.rst
+${PYSITELIB}/ephem/doc/coordinates.rst
+${PYSITELIB}/ephem/doc/date.rst
+${PYSITELIB}/ephem/doc/examples.rst
+${PYSITELIB}/ephem/doc/faq.rst
+${PYSITELIB}/ephem/doc/index.rst
+${PYSITELIB}/ephem/doc/newton.rst
+${PYSITELIB}/ephem/doc/quick.rst
+${PYSITELIB}/ephem/doc/radec.rst
+${PYSITELIB}/ephem/doc/reference.rst
+${PYSITELIB}/ephem/doc/rise-set.rst
+${PYSITELIB}/ephem/doc/tutorial.rst
+${PYSITELIB}/ephem/stars.py
+${PYSITELIB}/ephem/stars.pyc
+${PYSITELIB}/ephem/stars.pyo
+${PYSITELIB}/ephem/tests/__init__.py
+${PYSITELIB}/ephem/tests/__init__.pyc
+${PYSITELIB}/ephem/tests/__init__.pyo
+${PYSITELIB}/ephem/tests/all.py
+${PYSITELIB}/ephem/tests/all.pyc
+${PYSITELIB}/ephem/tests/all.pyo
+${PYSITELIB}/ephem/tests/jpl/europa.txt
+${PYSITELIB}/ephem/tests/jpl/hyperion.txt
+${PYSITELIB}/ephem/tests/jpl/jupiter.txt
+${PYSITELIB}/ephem/tests/jpl/mars.txt
+${PYSITELIB}/ephem/tests/jpl/neptune.txt
+${PYSITELIB}/ephem/tests/jpl/oberon.txt
+${PYSITELIB}/ephem/tests/jpl/phobos.txt
+${PYSITELIB}/ephem/tests/jpl/saturn.txt
+${PYSITELIB}/ephem/tests/jpl/uranus.txt
+${PYSITELIB}/ephem/tests/test_angles.py
+${PYSITELIB}/ephem/tests/test_angles.pyc
+${PYSITELIB}/ephem/tests/test_angles.pyo
+${PYSITELIB}/ephem/tests/test_bodies.py
+${PYSITELIB}/ephem/tests/test_bodies.pyc
+${PYSITELIB}/ephem/tests/test_bodies.pyo
+${PYSITELIB}/ephem/tests/test_cities.py
+${PYSITELIB}/ephem/tests/test_cities.pyc
+${PYSITELIB}/ephem/tests/test_cities.pyo
+${PYSITELIB}/ephem/tests/test_constants.py
+${PYSITELIB}/ephem/tests/test_constants.pyc
+${PYSITELIB}/ephem/tests/test_constants.pyo
+${PYSITELIB}/ephem/tests/test_dates.py
+${PYSITELIB}/ephem/tests/test_dates.pyc
+${PYSITELIB}/ephem/tests/test_dates.pyo
+${PYSITELIB}/ephem/tests/test_jpl.py
+${PYSITELIB}/ephem/tests/test_jpl.pyc
+${PYSITELIB}/ephem/tests/test_jpl.pyo
+${PYSITELIB}/ephem/tests/test_launchpad_236872.py
+${PYSITELIB}/ephem/tests/test_launchpad_236872.pyc
+${PYSITELIB}/ephem/tests/test_launchpad_236872.pyo
+${PYSITELIB}/ephem/tests/test_launchpad_244811.py
+${PYSITELIB}/ephem/tests/test_launchpad_244811.pyc
+${PYSITELIB}/ephem/tests/test_launchpad_244811.pyo
+${PYSITELIB}/ephem/tests/test_locales.py
+${PYSITELIB}/ephem/tests/test_locales.pyc
+${PYSITELIB}/ephem/tests/test_locales.pyo
+${PYSITELIB}/ephem/tests/test_observers.py
+${PYSITELIB}/ephem/tests/test_observers.pyc
+${PYSITELIB}/ephem/tests/test_observers.pyo
+${PYSITELIB}/ephem/tests/test_rst.py
+${PYSITELIB}/ephem/tests/test_rst.pyc
+${PYSITELIB}/ephem/tests/test_rst.pyo
+${PYSITELIB}/ephem/tests/test_satellite.py
+${PYSITELIB}/ephem/tests/test_satellite.pyc
+${PYSITELIB}/ephem/tests/test_satellite.pyo
+${PYSITELIB}/ephem/tests/test_stars.py
+${PYSITELIB}/ephem/tests/test_stars.pyc
+${PYSITELIB}/ephem/tests/test_stars.pyo
+${PYSITELIB}/ephem/tests/test_usno.py
+${PYSITELIB}/ephem/tests/test_usno.pyc
+${PYSITELIB}/ephem/tests/test_usno.pyo
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.py
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.pyc
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.pyo
+${PYSITELIB}/ephem/tests/usno/appgeo_deneb.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_jupiter.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_moon.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_sun.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_deneb.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_moon.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_sun.txt
+${PYSITELIB}/ephem/tests/usno/astrom_antares.txt
+${PYSITELIB}/ephem/tests/usno/astrom_mercury.txt
+${PYSITELIB}/ephem/tests/usno/astrom_neptune.txt
+${PYSITELIB}/ephem/tests/usno/moon_phases.txt
+${PYSITELIB}/ephem/tests/usno/riset_moon.txt
+${PYSITELIB}/ephem/tests/usno/riset_sun.txt
+${PYSITELIB}/ephem/tests/usno/risettran_moon.txt
+${PYSITELIB}/ephem/tests/usno/risettran_rigel.txt
diff --git a/math/py-ephem3/distinfo b/math/py-ephem3/distinfo
new file mode 100644
index 00000000000..fe3a4873071
--- /dev/null
+++ b/math/py-ephem3/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/20 12:50:31 wiz Exp $
+
+SHA1 (ephem-3.7.5.1.tar.gz) = 47b53eb85662a2c5e1db791ea0348b109db1dfb6
+RMD160 (ephem-3.7.5.1.tar.gz) = 20532a52ea5610c7b65cf32485d9668af710bcd6
+Size (ephem-3.7.5.1.tar.gz) = 731749 bytes