diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-01-15 00:25:30 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-15 16:55:00 +0700 |
commit | 0a4f4f18651105531636915163e72f1ef0267d9c (patch) | |
tree | 6efbfa662da773133226605f1d4b509c094e43e0 /python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild | |
parent | 64d1d3932fe0912dafd71703fea68140354f3ae5 (diff) |
python/python3-lsp-jsonrpc: Update for 1.1.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild')
-rw-r--r-- | python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild index 2881eba6ca..eaa082a16c 100644 --- a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild +++ b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-lsp-jsonrpc -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,7 +78,12 @@ 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 setup.py install --root=$PKG +export PYTHONPATH=/opt/python3.9/site-packages/ + +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |