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 /net/py-ifaddr | |
parent | 71023e16e9c60a858d647271160d66c2cc71b386 (diff) | |
download | pkgsrc-b461ebc61eb28fe69cd1e993ac58e3c1757c7e47.tar.gz |
*: remove workaround patches for python 3.6
Diffstat (limited to 'net/py-ifaddr')
-rw-r--r-- | net/py-ifaddr/distinfo | 3 | ||||
-rw-r--r-- | net/py-ifaddr/patches/patch-setup.py | 19 |
2 files changed, 1 insertions, 21 deletions
diff --git a/net/py-ifaddr/distinfo b/net/py-ifaddr/distinfo index aa35014e40b..d0e1fe1d670 100644 --- a/net/py-ifaddr/distinfo +++ b/net/py-ifaddr/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.5 2021/10/26 11:06:37 nia Exp $ +$NetBSD: distinfo,v 1.6 2022/01/14 11:49:43 wiz Exp $ BLAKE2s (ifaddr-0.1.7.tar.gz) = 43926a3a349fc3960daaf3570a62836863c8e76f42d06d58d5dac25047ecaaf9 SHA512 (ifaddr-0.1.7.tar.gz) = 9a428dd6bb022c8f483b77df9e9301f96e9ba64207eda8b3956a7ca5993bfe97f222c451149851135d379db1a819c75d0834566f3b6501456b2f237b0645e300 Size (ifaddr-0.1.7.tar.gz) = 9281 bytes -SHA1 (patch-setup.py) = c96e7d5b7c4d31107d163f2868f2712d206eceb1 diff --git a/net/py-ifaddr/patches/patch-setup.py b/net/py-ifaddr/patches/patch-setup.py deleted file mode 100644 index 043b9e5f3ed..00000000000 --- a/net/py-ifaddr/patches/patch-setup.py +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-setup.py,v 1.1 2020/06/20 02:08:56 mef Exp $ - -Explicitly read file as UTF-8, thanks joerg@ - ---- setup.py.orig 2020-06-06 18:56:10.000000000 +0000 -+++ setup.py -@@ -19,10 +19,11 @@ - # IN THE SOFTWARE. - - import os.path -+import sys - from setuptools import setup, find_packages - - if os.path.exists('README.rst'): -- with open('README.rst') as f: -+ with open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f: - long_description = f.read() - else: - long_description = "" |