diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2025-06-17 17:04:19 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-06-21 08:55:36 +0700 |
commit | 4e84c3bf70dc07743755a7dadc8e77c16567c81c (patch) | |
tree | e3c1e985129f5bd32941aaca03f82e284b1a60ed /python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild | |
parent | 6c7c8fe8c56587ae240d9744bc50d4ab4f26ace9 (diff) |
python/python3-rapidfuzz: Version bump to 3.13.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild')
-rw-r--r-- | python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild index 9f6e500559..c874baa044 100644 --- a/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild +++ b/python/python3-rapidfuzz/python3-rapidfuzz.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-rapidfuzz -# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-rapidfuzz -VERSION=${VERSION:-1.9.1} -RAPIDCPPVER=${RAPIDCPPVER:-103674db0785f6c1c8e247abc850e48c75c22e1c} -TASKVER=${TASKVER:-2.7.0} +VERSION=${VERSION:-3.13.0} +RAPIDCPPVER=${RAPIDCPPVER:-2440ffa} +TASKVER=${TASKVER:-130f795} SRCNAM=${SRCNAM:-RapidFuzz} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,11 +56,11 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -tar xvf $CWD/rapidfuzz-cpp-$RAPIDCPPVER.tar.gz -tar xvf $CWD/taskflow-$TASKVER.tar.gz +tar xvf $CWD/rapidfuzz-cpp-$RAPIDCPPVER*.tar.gz +tar xvf $CWD/taskflow-$TASKVER*.tar.gz rmdir $SRCNAM-$VERSION/extern/{rapidfuzz-cpp,taskflow} -mv rapidfuzz-cpp-$RAPIDCPPVER $SRCNAM-$VERSION/extern/rapidfuzz-cpp -mv taskflow-$TASKVER $SRCNAM-$VERSION/extern/taskflow +mv rapidfuzz-cpp-$RAPIDCPPVER* $SRCNAM-$VERSION/extern/rapidfuzz-cpp +mv taskflow-$TASKVER* $SRCNAM-$VERSION/extern/taskflow cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -72,6 +72,10 @@ find -L . \ # Just allow any numpy sed -i 's|oldest-supported-numpy|numpy|' 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" +export PATH="/opt/cython/bin:$PATH" + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl |