diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:31 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:18 +0700 |
commit | b76eb362829a1cb6265c341cd923c179528c54cc (patch) | |
tree | fa43c09be89eb200dd252367fc4ca3192e60a544 | |
parent | bb467d5d9e1a61d9d7410599ea18f1a41f34d86a (diff) | |
download | slackbuilds-b76eb362829a1cb6265c341cd923c179528c54cc.tar.gz slackbuilds-b76eb362829a1cb6265c341cd923c179528c54cc.tar.xz |
python/python3-webcolors: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-webcolors/python3-webcolors.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild index cd59c36121..b0494ee812 100644 --- a/python/python3-webcolors/python3-webcolors.SlackBuild +++ b/python/python3-webcolors/python3-webcolors.SlackBuild @@ -78,7 +78,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 {} \; -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 |