diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-05-06 07:43:06 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-05-11 06:51:49 +0700 |
commit | 1872120cba0e93db0486a543754ec505c196d991 (patch) | |
tree | 000121124e4f81c036f44f76ecf014ea3b6e4c4b /python/python3-argcomplete/python3-argcomplete.SlackBuild | |
parent | 2859659755c158a664ad9e6b9162f64a2598415f (diff) |
python/python3-argcomplete: Updated for version 3.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-argcomplete/python3-argcomplete.SlackBuild')
-rw-r--r-- | python/python3-argcomplete/python3-argcomplete.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
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 \ |