pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-rapidfuzz



Module Name:    pkgsrc
Committed By:   js
Date:           Sun Jun 25 18:17:33 UTC 2023

Modified Files:
        pkgsrc/textproc/py-rapidfuzz: Makefile PLIST

Log Message:
Fix textproc/py-rapidfuzz on !x86


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-rapidfuzz/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-rapidfuzz/PLIST

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-rapidfuzz/Makefile
diff -u pkgsrc/textproc/py-rapidfuzz/Makefile:1.7 pkgsrc/textproc/py-rapidfuzz/Makefile:1.8
--- pkgsrc/textproc/py-rapidfuzz/Makefile:1.7   Thu Jun 22 10:52:35 2023
+++ pkgsrc/textproc/py-rapidfuzz/Makefile       Sun Jun 25 18:17:33 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/06/22 10:52:35 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2023/06/25 18:17:33 js Exp $
 
 DISTNAME=      rapidfuzz-3.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -20,6 +20,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-hypothesis
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 PLIST_SUBST+=  PYTHON_VERSION=${_PYTHON_VERSION}
+PLIST_VARS+=   avx2
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+PLIST.amd64=   yes
+.endif
 
 USE_LANGUAGES= c c++17
 GCC_REQD+=     10

Index: pkgsrc/textproc/py-rapidfuzz/PLIST
diff -u pkgsrc/textproc/py-rapidfuzz/PLIST:1.2 pkgsrc/textproc/py-rapidfuzz/PLIST:1.3
--- pkgsrc/textproc/py-rapidfuzz/PLIST:1.2      Tue Jun  6 09:39:09 2023
+++ pkgsrc/textproc/py-rapidfuzz/PLIST  Sun Jun 25 18:17:33 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/06/06 09:39:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/06/25 18:17:33 js Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -26,7 +26,7 @@ ${PYSITELIB}/rapidfuzz/_common_py.pyo
 ${PYSITELIB}/rapidfuzz/_feature_detector.py
 ${PYSITELIB}/rapidfuzz/_feature_detector.pyc
 ${PYSITELIB}/rapidfuzz/_feature_detector.pyo
-${PYSITELIB}/rapidfuzz/_feature_detector_cpp.cpython-${PYTHON_VERSION}.so
+${PLIST.avx2}${PYSITELIB}/rapidfuzz/_feature_detector_cpp.cpython-${PYTHON_VERSION}.so
 ${PYSITELIB}/rapidfuzz/_utils.py
 ${PYSITELIB}/rapidfuzz/_utils.pyc
 ${PYSITELIB}/rapidfuzz/_utils.pyo
@@ -112,7 +112,7 @@ ${PYSITELIB}/rapidfuzz/distance/_initial
 ${PYSITELIB}/rapidfuzz/distance/_initialize_py.pyo
 ${PYSITELIB}/rapidfuzz/distance/metrics_cpp.cpython-${PYTHON_VERSION}.so
 ${PYSITELIB}/rapidfuzz/distance/metrics_cpp.pyi
-${PYSITELIB}/rapidfuzz/distance/metrics_cpp_avx2.cpython-${PYTHON_VERSION}.so
+${PLIST.avx2}${PYSITELIB}/rapidfuzz/distance/metrics_cpp_avx2.cpython-${PYTHON_VERSION}.so
 ${PYSITELIB}/rapidfuzz/distance/metrics_py.py
 ${PYSITELIB}/rapidfuzz/distance/metrics_py.pyc
 ${PYSITELIB}/rapidfuzz/distance/metrics_py.pyo
@@ -121,7 +121,7 @@ ${PYSITELIB}/rapidfuzz/fuzz.pyc
 ${PYSITELIB}/rapidfuzz/fuzz.pyi
 ${PYSITELIB}/rapidfuzz/fuzz.pyo
 ${PYSITELIB}/rapidfuzz/fuzz_cpp.cpython-${PYTHON_VERSION}.so
-${PYSITELIB}/rapidfuzz/fuzz_cpp_avx2.cpython-${PYTHON_VERSION}.so
+${PLIST.avx2}${PYSITELIB}/rapidfuzz/fuzz_cpp_avx2.cpython-${PYTHON_VERSION}.so
 ${PYSITELIB}/rapidfuzz/fuzz_py.py
 ${PYSITELIB}/rapidfuzz/fuzz_py.pyc
 ${PYSITELIB}/rapidfuzz/fuzz_py.pyo



Home | Main Index | Thread Index | Old Index