diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:45 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:15 +0700 |
commit | 34795d10f933098937fa50a33e5022bef3fa71de (patch) | |
tree | 67683a6892fa57be6343af975af84aad6fc67b15 | |
parent | 9feea667ef44bb83e8755de311e3cbc851ee7df4 (diff) | |
download | slackbuilds-34795d10f933098937fa50a33e5022bef3fa71de.tar.gz slackbuilds-34795d10f933098937fa50a33e5022bef3fa71de.tar.xz |
python/python3-lsp-jsonrpc: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild index eaa082a16c..6d8e43fe6a 100644 --- a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild +++ b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.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/ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION |