aboutsummaryrefslogtreecommitdiff
path: root/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild')
-rw-r--r--python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild
index c874baa044..ccf499c5db 100644
--- a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild
+++ b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild
@@ -28,7 +28,7 @@ VERSION=${VERSION:-3.13.0}
RAPIDCPPVER=${RAPIDCPPVER:-2440ffa}
TASKVER=${TASKVER:-130f795}
SRCNAM=${SRCNAM:-RapidFuzz}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,8 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Just allow any numpy
-sed -i 's|oldest-supported-numpy|numpy|' pyproject.toml
+# Just allow any numpy, and newer Cython
+sed -i 's|oldest-supported-numpy|numpy|;s|, <3.1.0||' pyproject.toml
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages"