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: remove unneces...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca5cee8d4fe2
branches:  trunk
changeset: 371126:ca5cee8d4fe2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 05 10:01:08 2022 +0000

description:
py-Levenshtein: remove unnecessary setuptools dependency

Bump PKGREVISION.

diffstat:

 textproc/py-Levenshtein/Makefile               |   4 +---
 textproc/py-Levenshtein/PLIST                  |   3 +--
 textproc/py-Levenshtein/distinfo               |   3 ++-
 textproc/py-Levenshtein/patches/patch-setup.py |  15 +++++++++++++++
 4 files changed, 19 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r ae89fb1eaf0f -r ca5cee8d4fe2 textproc/py-Levenshtein/Makefile
--- a/textproc/py-Levenshtein/Makefile  Wed Jan 05 09:37:15 2022 +0000
+++ b/textproc/py-Levenshtein/Makefile  Wed Jan 05 10:01:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:51 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/01/05 10:01:08 wiz Exp $
 
 DISTNAME=      python-Levenshtein-0.12.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
@@ -11,7 +11,5 @@
 COMMENT=       Python extension for computing string edit distances
 LICENSE=       gnu-gpl-v2
 
-DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ae89fb1eaf0f -r ca5cee8d4fe2 textproc/py-Levenshtein/PLIST
--- a/textproc/py-Levenshtein/PLIST     Wed Jan 05 09:37:15 2022 +0000
+++ b/textproc/py-Levenshtein/PLIST     Wed Jan 05 10:01:08 2022 +0000
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2021/01/20 09:09:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/01/05 10:01:08 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/Levenshtein/StringMatcher.py
 ${PYSITELIB}/Levenshtein/StringMatcher.pyc
diff -r ae89fb1eaf0f -r ca5cee8d4fe2 textproc/py-Levenshtein/distinfo
--- a/textproc/py-Levenshtein/distinfo  Wed Jan 05 09:37:15 2022 +0000
+++ b/textproc/py-Levenshtein/distinfo  Wed Jan 05 10:01:08 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:22:59 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/01/05 10:01:08 wiz 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
diff -r ae89fb1eaf0f -r ca5cee8d4fe2 textproc/py-Levenshtein/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-Levenshtein/patches/patch-setup.py    Wed Jan 05 10:01:08 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/05 10:01:08 wiz Exp $
+
+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',
+       zip_safe=False,
+       ext_modules = [extLevensthein],
+       install_requires=[
+-          'setuptools',
+           # -*- Extra requirements: -*-
+       ],
+       entry_points="""



Home | Main Index | Thread Index | Old Index