astro/py-ephem: Update to 4.1

Changelog: https://github.com/brandon-rhodes/pyephem/compare/4.0.0.2...96e5fe5

Reported by:	Repology
This commit is contained in:
Rainer Hurling 2021-09-30 21:44:35 +02:00
parent bcd938765b
commit 6a5a9cc088
3 changed files with 4 additions and 15 deletions

View file

@ -1,7 +1,7 @@
# Created by: db
PORTNAME= ephem
PORTVERSION= 4.0.0.2
PORTVERSION= 4.1
CATEGORIES= astro math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -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

View file

@ -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']: