pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-Levenshtein py-Levenshtein: adjust further...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35c3c9eafba5
branches:  trunk
changeset: 374905:35c3c9eafba5
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Mar 02 22:10:48 2022 +0000

description:
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:

 textproc/py-Levenshtein/distinfo               |   4 ++--
 textproc/py-Levenshtein/patches/patch-setup.py |  15 +++++++++++----
 2 files changed, 13 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 39bc287d0cc8 -r 35c3c9eafba5 textproc/py-Levenshtein/distinfo
--- a/textproc/py-Levenshtein/distinfo  Wed Mar 02 21:32:00 2022 +0000
+++ b/textproc/py-Levenshtein/distinfo  Wed Mar 02 22:10:48 2022 +0000
@@ -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 -r 39bc287d0cc8 -r 35c3c9eafba5 textproc/py-Levenshtein/patches/patch-setup.py
--- a/textproc/py-Levenshtein/patches/patch-setup.py    Wed Mar 02 21:32:00 2022 +0000
+++ b/textproc/py-Levenshtein/patches/patch-setup.py    Wed Mar 02 22:10:48 2022 +0000
@@ -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.
 
-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.
+
 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="""
+-      """,
+       )



Home | Main Index | Thread Index | Old Index