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 | |
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')
-rw-r--r-- | python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild | 9 | ||||
-rw-r--r-- | python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.info | 8 |
2 files changed, 11 insertions, 6 deletions
diff --git a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.SlackBuild index 2881eba6caa5e..eaa082a16c2b5 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 diff --git a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.info b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.info index 66ff887738f36..ef93b3270fa84 100644 --- a/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.info +++ b/python/python3-lsp-jsonrpc/python3-lsp-jsonrpc.info @@ -1,10 +1,10 @@ PRGNAM="python3-lsp-jsonrpc" -VERSION="1.0.0" +VERSION="1.1.2" HOMEPAGE="https://github.com/python-lsp/python-lsp-jsonrpc" -DOWNLOAD="https://github.com/python-lsp/python-lsp-jsonrpc/archive/v1.0.0/python-lsp-jsonrpc-1.0.0.tar.gz" -MD5SUM="8c3d1ca0d9c1d50be7fc135c2d2675ab" +DOWNLOAD="https://github.com/python-lsp/python-lsp-jsonrpc/archive/v1.1.2/python-lsp-jsonrpc-1.1.2.tar.gz" +MD5SUM="080114fa319513cd6690a8c3be2906f4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-ujson" +REQUIRES="python3-ujson python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |