diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:30 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:17 +0700 |
commit | e2444e0b10b3d753daa326453d4fe768573b53ca (patch) | |
tree | d5d8d3176365026cf8172635907e403276904de5 /python/python3-tempora/python3-tempora.SlackBuild | |
parent | 91884824ec458632ea7283f100986144764dfb44 (diff) | |
download | slackbuilds-e2444e0b10b3d753daa326453d4fe768573b53ca.tar.gz slackbuilds-e2444e0b10b3d753daa326453d4fe768573b53ca.tar.xz |
python/python3-tempora: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-tempora/python3-tempora.SlackBuild')
-rw-r--r-- | python/python3-tempora/python3-tempora.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-tempora/python3-tempora.SlackBuild b/python/python3-tempora/python3-tempora.SlackBuild index 1ab594ea66..89487a7a41 100644 --- a/python/python3-tempora/python3-tempora.SlackBuild +++ b/python/python3-tempora/python3-tempora.SlackBuild @@ -70,7 +70,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 |