diff --git a/astro/py-ephem/Makefile b/astro/py-ephem/Makefile index 66965aab04e9..92aed6b5f840 100644 --- a/astro/py-ephem/Makefile +++ b/astro/py-ephem/Makefile @@ -1,27 +1,27 @@ # Created by: db PORTNAME= ephem -PORTVERSION= 4.0.0.2 +PORTVERSION= 4.1 CATEGORIES= astro math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Compute positions of the planets and stars LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.7+ # Because of UnicodeDecodeError in ascii.py USE_PYTHON= autoplist distutils post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro${PYTHON_EXT_SUFFIX}.so do-test: # WARNING: Testing via this command is deprecated and will be # removed in a future version. Users looking for a generic test # entry point independent of test runner are encouraged to use tox. @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/astro/py-ephem/distinfo b/astro/py-ephem/distinfo index d0621a1c4e9e..4da09e18e21e 100644 --- a/astro/py-ephem/distinfo +++ b/astro/py-ephem/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1623752859 -SHA256 (ephem-4.0.0.2.tar.gz) = d03de73ebf6a91681d597eb5b5d43bcf6f0c67e292bba2f9a974734b4f15757e -SIZE (ephem-4.0.0.2.tar.gz) = 738626 +TIMESTAMP = 1633030603 +SHA256 (ephem-4.1.tar.gz) = c076794a511a34b5b91871c1cf6374dbc323ec69fca3f50eb718f20b171259d6 +SIZE (ephem-4.1.tar.gz) = 1254139 diff --git a/astro/py-ephem/files/patch-ephem_tests_test__satellite.py b/astro/py-ephem/files/patch-ephem_tests_test__satellite.py deleted file mode 100644 index 498c97246dfd..000000000000 --- a/astro/py-ephem/files/patch-ephem_tests_test__satellite.py +++ /dev/null @@ -1,11 +0,0 @@ ---- ephem/tests/test_satellite.py.orig 2021-06-12 19:13:26 UTC -+++ ephem/tests/test_satellite.py -@@ -21,7 +21,7 @@ class SatelliteTests(unittest.TestCase): - lines = list(tle_lines) - lines[1] = lines[1][:-1] + '1' - expected = 'incorrect TLE checksum at end of line' -- self.assertRaisesRegexp(ValueError, expected, ephem.readtle, *lines) -+ self.assertRaisesRegex(ValueError, expected, ephem.readtle, *lines) - - def test_normal_methods(self): - for which in ['previous', 'next']: