diff options
author | wiz <wiz@pkgsrc.org> | 2022-01-14 11:49:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-01-14 11:49:41 +0000 |
commit | b461ebc61eb28fe69cd1e993ac58e3c1757c7e47 (patch) | |
tree | 9805ebfe34408e9981eebfdd2ad617857f732131 /math/py-ephem | |
parent | 71023e16e9c60a858d647271160d66c2cc71b386 (diff) | |
download | pkgsrc-b461ebc61eb28fe69cd1e993ac58e3c1757c7e47.tar.gz |
*: remove workaround patches for python 3.6
Diffstat (limited to 'math/py-ephem')
-rw-r--r-- | math/py-ephem/distinfo | 3 | ||||
-rw-r--r-- | math/py-ephem/patches/patch-setup.py | 15 |
2 files changed, 1 insertions, 17 deletions
diff --git a/math/py-ephem/distinfo b/math/py-ephem/distinfo index 89b6808110f..b4a442f07e6 100644 --- a/math/py-ephem/distinfo +++ b/math/py-ephem/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.11 2021/10/26 10:56:01 nia Exp $ +$NetBSD: distinfo,v 1.12 2022/01/14 11:49:43 wiz Exp $ BLAKE2s (ephem-3.7.7.1.tar.gz) = 64480898485c2b0d8a2431424c1935d03fd7afb58b99d6a2897bb1d336cc95e6 SHA512 (ephem-3.7.7.1.tar.gz) = c3f489371febcb65da03da7ba0e08168320a6f5d81fd2355281f621074ecf2be694b2d0cc3ef7863cec617176751a34856bdd22beb66cd64129fbfb915b3dcae Size (ephem-3.7.7.1.tar.gz) = 745839 bytes -SHA1 (patch-setup.py) = ca5c99e7f1a4cf90e53b7d34f63d91210f9e0acf diff --git a/math/py-ephem/patches/patch-setup.py b/math/py-ephem/patches/patch-setup.py deleted file mode 100644 index 9cc72b109ee..00000000000 --- a/math/py-ephem/patches/patch-setup.py +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-setup.py,v 1.1 2020/05/31 20:49:33 joerg Exp $ - -Python 3.6 doesn't default to UTF-8, but still tries to convert to Unicode. - ---- setup.py.orig 2020-05-31 17:37:01.440042910 +0000 -+++ setup.py -@@ -24,7 +24,7 @@ libastro_files = glob('libastro-%s/*.c' - libastro_data = glob('extensions/data/*.c') - - def read(*filenames): -- return open(os.path.join(os.path.dirname(__file__), *filenames)).read() -+ return open(os.path.join(os.path.dirname(__file__), *filenames), **({'encoding': 'UTF-8'} if sys.version_info.major >= 3 else {})).read() - - extensions = [ - Extension('ephem._libastro', |