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:   wiz
Date:           Sun Oct 13 17:59:18 UTC 2024

Modified Files:
        pkgsrc/textproc/py-Levenshtein: Makefile PLIST distinfo
        pkgsrc/textproc/py-Levenshtein/patches: patch-CMakeLists.txt

Log Message:
py-Levenshtein: update to 0.26.0.

### v0.26.0
#### Changed
- add support for Python 3.13
- drop support for Python 3.8
- switch build system to `scikit-build-core`
- upgrade to `Cython==3.0.11`


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/py-Levenshtein/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-Levenshtein/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-Levenshtein/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt

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/Makefile
diff -u pkgsrc/textproc/py-Levenshtein/Makefile:1.17 pkgsrc/textproc/py-Levenshtein/Makefile:1.18
--- pkgsrc/textproc/py-Levenshtein/Makefile:1.17        Tue Apr  9 16:46:09 2024
+++ pkgsrc/textproc/py-Levenshtein/Makefile     Sun Oct 13 17:59:17 2024
@@ -1,25 +1,25 @@
-# $NetBSD: Makefile,v 1.17 2024/04/09 16:46:09 adam Exp $
+# $NetBSD: Makefile,v 1.18 2024/10/13 17:59:17 wiz Exp $
 
-DISTNAME=      Levenshtein-0.25.1
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      levenshtein-0.26.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/l/L/}
 CATEGORIES=    textproc python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=L/Levenshtein/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/levenshtein/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/maxbachmann/Levenshtein
 COMMENT=       Python extension for computing string edit distances
 LICENSE=       gnu-gpl-v2
 
-TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
-TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.13.0:../../devel/py-scikit-build
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= cmake>=3.15:../../devel/cmake
+TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build-core>=0:../../devel/py-scikit-build-core
 DEPENDS+=      ${PYPKGPREFIX}-rapidfuzz>=3.8.0:../../textproc/py-rapidfuzz
 
 USE_LANGUAGES= c c++
 
 USE_CXX_FEATURES+=     c++17
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38
+post-install:
+       ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/Levenshtein/CMakeLists.txt.orig
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-Levenshtein/PLIST
diff -u pkgsrc/textproc/py-Levenshtein/PLIST:1.6 pkgsrc/textproc/py-Levenshtein/PLIST:1.7
--- pkgsrc/textproc/py-Levenshtein/PLIST:1.6    Sun Oct 29 16:59:20 2023
+++ pkgsrc/textproc/py-Levenshtein/PLIST        Sun Oct 13 17:59:17 2024
@@ -1,9 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/10/29 16:59:20 wiz Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/COPYING
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2024/10/13 17:59:17 wiz Exp $
 ${PYSITELIB}/Levenshtein/StringMatcher.py
 ${PYSITELIB}/Levenshtein/StringMatcher.pyc
 ${PYSITELIB}/Levenshtein/StringMatcher.pyo
@@ -13,3 +8,7 @@ ${PYSITELIB}/Levenshtein/__init__.pyi
 ${PYSITELIB}/Levenshtein/__init__.pyo
 ${PYSITELIB}/Levenshtein/levenshtein_cpp.so
 ${PYSITELIB}/Levenshtein/py.typed
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING

Index: pkgsrc/textproc/py-Levenshtein/distinfo
diff -u pkgsrc/textproc/py-Levenshtein/distinfo:1.13 pkgsrc/textproc/py-Levenshtein/distinfo:1.14
--- pkgsrc/textproc/py-Levenshtein/distinfo:1.13        Tue Apr  9 16:46:09 2024
+++ pkgsrc/textproc/py-Levenshtein/distinfo     Sun Oct 13 17:59:17 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2024/04/09 16:46:09 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/10/13 17:59:17 wiz Exp $
 
-BLAKE2s (Levenshtein-0.25.1.tar.gz) = 3048296097d937b06a1868008127382b96f58e5ebf064e4e7aa7b2975ffe2dbe
-SHA512 (Levenshtein-0.25.1.tar.gz) = e96c730ce0657b3ea133a12d3c705b566a476cc02e759c5870697f43a57bc471b28f7f82d7e2c9d5c801230388729335e348397ea9e0334197a1fef73761f8e5
-Size (Levenshtein-0.25.1.tar.gz) = 149954 bytes
-SHA1 (patch-CMakeLists.txt) = 5e94c7bc9ca41189f8e36fd8ba5f0ff81df175a1
+BLAKE2s (levenshtein-0.26.0.tar.gz) = f8b98395ffeb20a11744822cdcb09fe1f8a7075ba7a8d54ec7a6a035d560b6aa
+SHA512 (levenshtein-0.26.0.tar.gz) = e32773bba55bde8140f9a00e5d7a6ba4db97960614646f67bbbfd1ea35313fae865c7fc3269ed55f38194e7790226bfd1978ddfa16033bb4a9a94b6cbff29e83
+Size (levenshtein-0.26.0.tar.gz) = 374294 bytes
+SHA1 (patch-CMakeLists.txt) = 55e88242d6cdc80017797fc056e1e236b05c2eb9
 SHA1 (patch-src_Levenshtein_CMakeLists.txt) = 67f56cfa38593351b337b59a058d496890646da8

Index: pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt
diff -u pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt:1.1 pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt:1.1     Fri May  5 19:32:18 2023
+++ pkgsrc/textproc/py-Levenshtein/patches/patch-CMakeLists.txt Sun Oct 13 17:59:18 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2023/05/05 19:32:18 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2024/10/13 17:59:18 wiz Exp $
 
 INTERPROCEDURAL_OPTIMIZATION (LTO) is not portable.
 
---- CMakeLists.txt.orig        2023-05-05 19:22:34.000000000 +0000
+--- CMakeLists.txt.orig        2022-11-09 12:37:21.000000000 +0000
 +++ CMakeLists.txt
 @@ -1,7 +1,6 @@
- cmake_minimum_required(VERSION 3.12...3.24)
+ cmake_minimum_required(VERSION 3.15...3.26)
  
  cmake_policy(SET CMP0054 NEW)
 -set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)



Home | Main Index | Thread Index | Old Index