aboutsummaryrefslogtreecommitdiff
path: root/python/python3-mesonpy/python3-mesonpy.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-03-31 07:39:53 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 15:18:08 +0700
commit070581f7b34ddbe40117a61f5522d3edadb7cde6 (patch)
tree244aa09374f3b2910e732992f6c600b47c21d782 /python/python3-mesonpy/python3-mesonpy.SlackBuild
parent266e674a09e6014555e3b999566bd7f71e9fa90c (diff)
python/python3-mesonpy: README fixes.
Applying fixes for current even though they are not needed, but for consistency. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-mesonpy/python3-mesonpy.SlackBuild')
-rw-r--r--python/python3-mesonpy/python3-mesonpy.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python3-mesonpy/python3-mesonpy.SlackBuild b/python/python3-mesonpy/python3-mesonpy.SlackBuild
index 1345c0a5d6..20041fcf9a 100644
--- a/python/python3-mesonpy/python3-mesonpy.SlackBuild
+++ b/python/python3-mesonpy/python3-mesonpy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-mesonpy
-# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,7 +64,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# to use updated meson
-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
# cannot be built from sdist so just build the wheel
python3 -m build --wheel --no-isolation