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>
This commit is contained in:
parent
266e674a09
commit
070581f7b3
|
@ -8,4 +8,5 @@ NOTE: Does not work with the stock 15.0 meson.
|
||||||
|
|
||||||
PYTHONPATH needs to be set to use python3-meson-opt.
|
PYTHONPATH needs to be set to use python3-meson-opt.
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for python3-mesonpy
|
# Slackware build script for python3-mesonpy
|
||||||
|
|
||||||
# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net>
|
# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# 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 {} \+
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
|
||||||
|
|
||||||
# to use updated meson
|
# 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
|
# cannot be built from sdist so just build the wheel
|
||||||
python3 -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
|
|
Loading…
Reference in New Issue