diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:29 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:16 +0700 |
commit | 5475504521712f64ef73063a95bf0bec6c8f1dd5 (patch) | |
tree | d546ee7cbd204a66b4277af9bed895a4ce0029c1 | |
parent | 8007fbf59f7f571ecb3258cee2d2e83217c02480 (diff) |
python/python3-pyppmd: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-pyppmd/python3-pyppmd.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-pyppmd/python3-pyppmd.SlackBuild b/python/python3-pyppmd/python3-pyppmd.SlackBuild index 3800107686bd0..d33670672ad9d 100644 --- a/python/python3-pyppmd/python3-pyppmd.SlackBuild +++ b/python/python3-pyppmd/python3-pyppmd.SlackBuild @@ -82,7 +82,8 @@ find -L . \ -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 setup.py install --root=$PKG |