aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:25 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:02 +0700
commit0db17c862cc88c7ead7b1eb96d791b37aa44c458 (patch)
tree5a9f878c1c8f1cb1ff004b5d7b453a5c1986ccc1 /multimedia
parent9ecefdf0556182a5f18ca13a6d0617f1837608f2 (diff)
multimedia/videomass: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/videomass/videomass.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/videomass/videomass.SlackBuild b/multimedia/videomass/videomass.SlackBuild
index b4ef0b9fff63..8eb5b691b545 100644
--- a/multimedia/videomass/videomass.SlackBuild
+++ b/multimedia/videomass/videomass.SlackBuild
@@ -86,6 +86,9 @@ 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 {} \;
+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 --destdir "$PKG" dist/*.whl