git: df1857a39a36 - main - astro/py-skyfield: upgrade to 1.40

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 16 Nov 2021 20:50:02 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df1857a39a362b329e87120b48e091d5f257d65c

commit df1857a39a362b329e87120b48e091d5f257d65c
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-11-16 19:18:21 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-11-16 20:49:33 +0000

    astro/py-skyfield: upgrade to 1.40
    
    Also switch to pypi.org.
---
 astro/py-skyfield/Makefile  |  17 +++--------------
 astro/py-skyfield/de421.bsp | Bin 0 -> 16788480 bytes
 astro/py-skyfield/distinfo  |   6 +++---
 astro/py-skyfield/pkg-plist |  30 +++++++++++++++++++++---------
 4 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/astro/py-skyfield/Makefile b/astro/py-skyfield/Makefile
index 8e8ed4c923d9..6f267782a4bb 100644
--- a/astro/py-skyfield/Makefile
+++ b/astro/py-skyfield/Makefile
@@ -1,8 +1,9 @@
 # Created by: thierry@pompo.net
 
 PORTNAME=	skyfield
-PORTVERSION=	1.39
+PORTVERSION=	1.40
 CATEGORIES=	astro python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -34,22 +35,10 @@ RUN_DEPENDS=	${PYNUMPY}	\
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\
 		${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR}
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	skyfielders
-GH_PROJECT=	python-skyfield
-
-USES=		python:3.7+ shebangfix
+USES=		python:3.7+
 USE_PYTHON=	distutils
-SHEBANG_FILES=	test-code.sh test-docs.sh
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	EXAMPLES
-PORTEXAMPLES=	*
-
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
-
 do-test: install
 	${CP} ${FILESDIR}/test-skyfield.py ${WRKSRC}
 	(cd ${WRKSRC} && ${PYTHON_CMD} test-skyfield.py)
diff --git a/astro/py-skyfield/de421.bsp b/astro/py-skyfield/de421.bsp
new file mode 100644
index 000000000000..ed5b5830e54b
Binary files /dev/null and b/astro/py-skyfield/de421.bsp differ
diff --git a/astro/py-skyfield/distinfo b/astro/py-skyfield/distinfo
index ab954054c3e8..f589a41d1d29 100644
--- a/astro/py-skyfield/distinfo
+++ b/astro/py-skyfield/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618490340
-SHA256 (skyfielders-python-skyfield-1.39_GH0.tar.gz) = aa097a7ca8011217f642cd6281d1794bbdc3ea93544bbf39c6b31931543a4be4
-SIZE (skyfielders-python-skyfield-1.39_GH0.tar.gz) = 85292105
+TIMESTAMP = 1637089632
+SHA256 (skyfield-1.40.tar.gz) = 23077a1dddd60004a17067e0d1b0164b38268bc3bff78c2a3dca309e91ca39c2
+SIZE (skyfield-1.40.tar.gz) = 380037
diff --git a/astro/py-skyfield/pkg-plist b/astro/py-skyfield/pkg-plist
index 46e1a00dbd0a..306e1a86c9f0 100644
--- a/astro/py-skyfield/pkg-plist
+++ b/astro/py-skyfield/pkg-plist
@@ -6,10 +6,10 @@
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/__main__.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/_compatibility.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/_compatibility.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/__pycache__/almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/api.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/api.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/charting.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@@ -79,8 +79,8 @@
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/vectorlib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/__pycache__/vectorlib.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/_compatibility.py
-%%PYTHON_SITELIBDIR%%/skyfield/almanac_east_asia.py
 %%PYTHON_SITELIBDIR%%/skyfield/almanac.py
+%%PYTHON_SITELIBDIR%%/skyfield/almanac_east_asia.py
 %%PYTHON_SITELIBDIR%%/skyfield/api.py
 %%PYTHON_SITELIBDIR%%/skyfield/charting.py
 %%PYTHON_SITELIBDIR%%/skyfield/constants.py
@@ -105,6 +105,8 @@
 %%PYTHON_SITELIBDIR%%/skyfield/data/__pycache__/spice.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/data/__pycache__/stellarium.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/data/__pycache__/stellarium.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/data/__pycache__/text_pck.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/data/__pycache__/text_pck.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/data/constellations.gz
 %%PYTHON_SITELIBDIR%%/skyfield/data/constellations.npz
 %%PYTHON_SITELIBDIR%%/skyfield/data/delta_t.npz
@@ -120,6 +122,7 @@
 %%PYTHON_SITELIBDIR%%/skyfield/data/nutation.npz
 %%PYTHON_SITELIBDIR%%/skyfield/data/spice.py
 %%PYTHON_SITELIBDIR%%/skyfield/data/stellarium.py
+%%PYTHON_SITELIBDIR%%/skyfield/data/text_pck.py
 %%PYTHON_SITELIBDIR%%/skyfield/descriptorlib.py
 %%PYTHON_SITELIBDIR%%/skyfield/documentation/accuracy-efficiency.rst
 %%PYTHON_SITELIBDIR%%/skyfield/documentation/almanac.rst
@@ -190,12 +193,12 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_against_horizons.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_against_novas.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_against_novas.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac_east_asia.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac_searches.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac_searches.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_almanac.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_api.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_api.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_broadcastability.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@@ -212,6 +215,8 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_earth_satellites.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_earthlib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_earthlib.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_eclipselib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_eclipselib.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_elementslib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_elementslib.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_frames.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@@ -220,12 +225,14 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_functions.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_geometry.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_geometry.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io_parsing.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io_parsing.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io_parsing.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_io_parsing.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_keplerlib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_keplerlib.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_magnitudes.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_magnitudes.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_magnitudes_raw.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_magnitudes_raw.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_planetarylib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@@ -240,6 +247,8 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_stars.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_strs_and_reprs.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_strs_and_reprs.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_text_pck.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_text_pck.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_timelib.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_timelib.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/skyfield/tests/__pycache__/test_topos.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
@@ -257,9 +266,9 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/fixes.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_against_horizons.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_against_novas.py
+%%PYTHON_SITELIBDIR%%/skyfield/tests/test_almanac.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_almanac_east_asia.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_almanac_searches.py
-%%PYTHON_SITELIBDIR%%/skyfield/tests/test_almanac.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_api.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_broadcastability.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_constellations.py
@@ -268,13 +277,15 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_earth_deflection.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_earth_satellites.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_earthlib.py
+%%PYTHON_SITELIBDIR%%/skyfield/tests/test_eclipselib.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_elementslib.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_frames.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_functions.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_geometry.py
-%%PYTHON_SITELIBDIR%%/skyfield/tests/test_io_parsing.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_io.py
+%%PYTHON_SITELIBDIR%%/skyfield/tests/test_io_parsing.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_keplerlib.py
+%%PYTHON_SITELIBDIR%%/skyfield/tests/test_magnitudes.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_magnitudes_raw.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_planetarylib.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_positions.py
@@ -282,6 +293,7 @@
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_searchlib.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_stars.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_strs_and_reprs.py
+%%PYTHON_SITELIBDIR%%/skyfield/tests/test_text_pck.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_timelib.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_topos.py
 %%PYTHON_SITELIBDIR%%/skyfield/tests/test_trigonometry.py