From 1872120cba0e93db0486a543754ec505c196d991 Mon Sep 17 00:00:00 2001 From: Vijay Marcel Date: Mon, 6 May 2024 07:43:06 +0900 Subject: python/python3-argcomplete: Updated for version 3.3.0. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-argcomplete/python3-argcomplete.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python/python3-argcomplete/python3-argcomplete.SlackBuild') diff --git a/python/python3-argcomplete/python3-argcomplete.SlackBuild b/python/python3-argcomplete/python3-argcomplete.SlackBuild index c8299f6bf8..9fc0e02978 100644 --- a/python/python3-argcomplete/python3-argcomplete.SlackBuild +++ b/python/python3-argcomplete/python3-argcomplete.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-argcomplete -VERSION=${VERSION:-3.0.8} +VERSION=${VERSION:-3.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,7 +82,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 {} \; -python3 -m build --wheel --no-isolation +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ -- cgit v1.2.3