pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-Levenshtein



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Wed Mar  2 22:10:48 UTC 2022

Modified Files:
        pkgsrc/textproc/py-Levenshtein: distinfo
        pkgsrc/textproc/py-Levenshtein/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-Levenshtein/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-Levenshtein/distinfo
diff -u pkgsrc/textproc/py-Levenshtein/distinfo:1.6 pkgsrc/textproc/py-Levenshtein/distinfo:1.7
--- pkgsrc/textproc/py-Levenshtein/distinfo:1.6 Wed Jan  5 10:01:08 2022
+++ pkgsrc/textproc/py-Levenshtein/distinfo     Wed Mar  2 22:10:48 2022
@@ -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

Index: pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py
diff -u pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py:1.1 pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py:1.2
--- pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py:1.1   Wed Jan  5 10:01:08 2022
+++ pkgsrc/textproc/py-Levenshtein/patches/patch-setup.py       Wed Mar  2 22:10:48 2022
@@ -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="""
+-      """,
+       )



Home | Main Index | Thread Index | Old Index