python/python3-lsp-jsonrpc: Update for 1.1.2

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-01-15 00:25:30 -08:00 committed by Willy Sudiarto Raharjo
parent 64d1d3932f
commit 0a4f4f1865
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 6 deletions

View file

@ -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

View file

@ -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"