pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-ephem py-ephem: update to 3.7.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8898ea38f1f3
branches:  trunk
changeset: 369110:8898ea38f1f3
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Sep 26 17:32:26 2017 +0000

description:
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:

 math/py-ephem/Makefile |  26 ++++----------------------
 math/py-ephem/PLIST    |  10 ++++++++--
 math/py-ephem/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 29 deletions(-)

diffs (92 lines):

diff -r a7204b0445e5 -r 8898ea38f1f3 math/py-ephem/Makefile
--- a/math/py-ephem/Makefile    Tue Sep 26 17:23:05 2017 +0000
+++ b/math/py-ephem/Makefile    Tue Sep 26 17:32:26 2017 +0000
@@ -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@localhost
@@ -10,25 +10,7 @@
 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 -r a7204b0445e5 -r 8898ea38f1f3 math/py-ephem/PLIST
--- a/math/py-ephem/PLIST       Tue Sep 26 17:23:05 2017 +0000
+++ b/math/py-ephem/PLIST       Tue Sep 26 17:32:26 2017 +0000
@@ -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_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_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_sun.txt
 ${PYSITELIB}/ephem/tests/usno/risettran_moon.txt
 ${PYSITELIB}/ephem/tests/usno/risettran_rigel.txt
-${PYSITELIB}/${EGG_FILE}
diff -r a7204b0445e5 -r 8898ea38f1f3 math/py-ephem/distinfo
--- a/math/py-ephem/distinfo    Tue Sep 26 17:23:05 2017 +0000
+++ b/math/py-ephem/distinfo    Tue Sep 26 17:32:26 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index