diff options
author | adam <adam@pkgsrc.org> | 2017-09-26 17:32:26 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-09-26 17:32:26 +0000 |
commit | 19fe144d2a80e9a6c9eb0da4c1e823730d1bf348 (patch) | |
tree | 31c392d47132a174e17e469464a8549aef7cbed2 /math | |
parent | cbbd70110cca49815a74cfb27018898b81d339f4 (diff) | |
download | pkgsrc-19fe144d2a80e9a6c9eb0da4c1e823730d1bf348.tar.gz |
py-ephem: update to 3.7.6.0
Version 3.7.6.0:
The new ephem.cities.lookup() function runs a Google geocoding search and returns an Observer object for the top result.
When an Earth satellite position cannot be computed, PyEphem now raises an exception instead of freezing and locking up Python.
Upgraded to the libastro from XEphem 3.7.6, bringing improvements to Earth satellite transit calculations.
GitHub issue 76: Earth satellite velocity is now calculated with greater accuracy.
GitHub issue 64: rising and setting routines are now careful to restore your Observer.date even if they die with an exception.
GitHub issue 56: Earth satellites now raise an exception for dates a year or more from their TLE epoch, because libastro refuses to process old elements and would return nonsense coordinates.
GitHub issue 44: a segmentation fault would eventually kill Python 3 if a script called Body.copy() either directly or via the Standard Library copy.copy() function.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-ephem/Makefile | 26 | ||||
-rw-r--r-- | math/py-ephem/PLIST | 10 | ||||
-rw-r--r-- | math/py-ephem/distinfo | 10 |
3 files changed, 17 insertions, 29 deletions
diff --git a/math/py-ephem/Makefile b/math/py-ephem/Makefile index 36fb1b97cca..6a89fa27fe5 100644 --- a/math/py-ephem/Makefile +++ b/math/py-ephem/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2017/01/01 14:43:46 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2017/09/26 17:32:26 adam Exp $ -DISTNAME= pyephem-3.7.5.1 +DISTNAME= pyephem-3.7.6.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/} -CATEGORIES= geography math +CATEGORIES= math geography python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyephem/} MAINTAINER= pkgsrc-users@NetBSD.org @@ -10,25 +10,7 @@ HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html 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= 34 35 36 - -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_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 +REPLACE_PYTHON+= ephem/tests/test_*.py .include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" diff --git a/math/py-ephem/PLIST b/math/py-ephem/PLIST index 1991dcc462b..d5b9dcfec11 100644 --- a/math/py-ephem/PLIST +++ b/math/py-ephem/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.4 2014/01/20 12:47:40 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2017/09/26 17:32:26 adam Exp $ +${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/ephem/__init__.py ${PYSITELIB}/ephem/__init__.pyc ${PYSITELIB}/ephem/__init__.pyo @@ -50,6 +51,9 @@ ${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_github_issues.py +${PYSITELIB}/ephem/tests/test_github_issues.pyc +${PYSITELIB}/ephem/tests/test_github_issues.pyo ${PYSITELIB}/ephem/tests/test_jpl.py ${PYSITELIB}/ephem/tests/test_jpl.pyc ${PYSITELIB}/ephem/tests/test_jpl.pyo @@ -59,6 +63,9 @@ ${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 @@ -92,4 +99,3 @@ ${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 -${PYSITELIB}/${EGG_FILE} diff --git a/math/py-ephem/distinfo b/math/py-ephem/distinfo index 38e0689335e..6aaf746d0e6 100644 --- a/math/py-ephem/distinfo +++ b/math/py-ephem/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2015/11/03 23:33:42 agc Exp $ +$NetBSD: distinfo,v 1.5 2017/09/26 17:32:26 adam Exp $ -SHA1 (pyephem-3.7.5.1.tar.gz) = 00a055af2422092401e50861a167c56232e1be91 -RMD160 (pyephem-3.7.5.1.tar.gz) = 3db09b2fb82d59d25db05d7842b9d90df62ba8b1 -SHA512 (pyephem-3.7.5.1.tar.gz) = e26baec13c150350bbb84a28a1572c770642fe9a149a7036b2d6f0a4db8bdefaa7c762c1d24a7bb0607a7ed39684c081a1622ef395fd7590d22d80a3d3e68286 -Size (pyephem-3.7.5.1.tar.gz) = 703441 bytes +SHA1 (pyephem-3.7.6.0.tar.gz) = 00d016d757d773b4bce4479e699c9b0f9270782a +RMD160 (pyephem-3.7.6.0.tar.gz) = 1fc99dd1553de160a41545a47eb4e6494ca1c5e1 +SHA512 (pyephem-3.7.6.0.tar.gz) = c3013ef943c0e1e2c30bba6f72912efb100b4c8c45904b7d6d7ba73d8b741564793a6e538117eb88abb824c93c874e2c955de734418ebd2370888718a149c9a8 +Size (pyephem-3.7.6.0.tar.gz) = 739561 bytes |