summaryrefslogtreecommitdiff
path: root/textproc/py-Levenshtein
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-03-02 22:10:48 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-03-02 22:10:48 +0000
commit6407b881ddf82f8f943182d5cd201f42420f812e (patch)
treeff79a63509cdcb964948ab5329716de9838109bd /textproc/py-Levenshtein
parent49039a2813200111aec48ff0a65c690c946082a6 (diff)
downloadpkgsrc-6407b881ddf82f8f943182d5cd201f42420f812e.tar.gz
py-Levenshtein: adjust further to un-break Python 2.7 builds
Python 2.7 (or older pkgsrc states where a less recent py-setuptools is present) builds would still have expected the redundant entry_points.txt to be found, so explicitly remove it from setup.py for consistency. Ride previous update.
Diffstat (limited to 'textproc/py-Levenshtein')
-rw-r--r--textproc/py-Levenshtein/distinfo4
-rw-r--r--textproc/py-Levenshtein/patches/patch-setup.py15
2 files changed, 13 insertions, 6 deletions
diff --git a/textproc/py-Levenshtein/distinfo b/textproc/py-Levenshtein/distinfo
index 5d34284df3f..91a5286312c 100644
--- a/textproc/py-Levenshtein/distinfo
+++ b/textproc/py-Levenshtein/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/01/05 10:01:08 wiz Exp $
+$NetBSD: distinfo,v 1.7 2022/03/02 22:10:48 gutteridge Exp $
BLAKE2s (python-Levenshtein-0.12.2.tar.gz) = 2b751dc3868485f7da0381fec35034cd90f6539e62b791f8e5f34db5d82467c2
SHA512 (python-Levenshtein-0.12.2.tar.gz) = 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb
Size (python-Levenshtein-0.12.2.tar.gz) = 50502 bytes
-SHA1 (patch-setup.py) = fff48e1126818a7ceb94826ec79c298ec1be61f6
+SHA1 (patch-setup.py) = b9665f1b055350b2e779920072a42695c1413e0a
diff --git a/textproc/py-Levenshtein/patches/patch-setup.py b/textproc/py-Levenshtein/patches/patch-setup.py
index e5b17d3f415..bf49840aec9 100644
--- a/textproc/py-Levenshtein/patches/patch-setup.py
+++ b/textproc/py-Levenshtein/patches/patch-setup.py
@@ -1,15 +1,22 @@
-$NetBSD: patch-setup.py,v 1.1 2022/01/05 10:01:08 wiz Exp $
+$NetBSD: patch-setup.py,v 1.2 2022/03/02 22:10:48 gutteridge Exp $
+
+setuptools not needed.
+
+Also remove the empty entry_points definition, as it causes different
+behaviour between old and most recent py-setuptools, resulting in
+unnecessary variation of PLIST entries.
-setuptools not needed
https://github.com/ztane/python-Levenshtein/issues/79
--- setup.py.orig 2021-02-01 12:03:07.000000000 +0000
+++ setup.py
-@@ -39,7 +39,6 @@ setup(name='python-Levenshtein',
+@@ -39,9 +39,6 @@ setup(name='python-Levenshtein',
zip_safe=False,
ext_modules = [extLevensthein],
install_requires=[
- 'setuptools',
# -*- Extra requirements: -*-
],
- entry_points="""
+- entry_points="""
+- """,
+ )