diff options
| author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 04:02:30 -0600 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:07 +0700 |
| commit | e8da3b1b6076a6e4af65e3ec6c48368e5d2f76fd (patch) | |
| tree | 44cad2317b6d35a530fd6c1ffc86a74fdfc0e6b7 /python/python3-maturin/python3-maturin.SlackBuild | |
| parent | 2bd2be996091ce3288b7531d3ec3b349a45bb30f (diff) | |
python/python3-maturin: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-maturin/python3-maturin.SlackBuild')
| -rw-r--r-- | python/python3-maturin/python3-maturin.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/python3-maturin/python3-maturin.SlackBuild b/python/python3-maturin/python3-maturin.SlackBuild index 05fbccae88..42431d25d0 100644 --- a/python/python3-maturin/python3-maturin.SlackBuild +++ b/python/python3-maturin/python3-maturin.SlackBuild @@ -97,7 +97,9 @@ else export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" fi -export PYTHONPATH=/opt/python3.9/site-packages/ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl |
