diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:41 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:10 +0700 |
commit | d235886259695071445d403d0b78f01bed9052b6 (patch) | |
tree | 1203b1c816b24f71ad887d9b27e9a04871c18496 | |
parent | 0b37ea1604b0aef00a6db3be6b6bc35907d05ec0 (diff) | |
download | slackbuilds-d235886259695071445d403d0b78f01bed9052b6.tar.gz slackbuilds-d235886259695071445d403d0b78f01bed9052b6.tar.xz |
graphics/mcomix: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/mcomix/mcomix.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild index 2795c1b22c..8fb34f22ef 100644 --- a/graphics/mcomix/mcomix.SlackBuild +++ b/graphics/mcomix/mcomix.SlackBuild @@ -64,7 +64,8 @@ chown -R root:root . find . -type f -a -exec chmod 644 {} + -o \ -type d -a -exec chmod 755 {} + -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 --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |