4 Commits

Author SHA1 Message Date
Daniel M. Capella
024d737d4a upgpkg: 1.0.2-1 2023-05-16 18:46:10 +00:00
Felix Yan
6d95e55328 rebuild with python 3.11 2023-04-08 04:10:26 +00:00
Daniel M. Capella
c081da1169 Apply patch for typeguard 3 support
Thanks to @felixonmars
2023-03-16 20:37:15 +00:00
Daniel M. Capella
4ba337456f upgpkg: 1.0.1-1 2023-02-16 17:11:40 +00:00

View File

@@ -3,7 +3,7 @@
_name=pygls
pkgname=python-pygls
pkgver=1.0.0
pkgver=1.0.2
pkgrel=1
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
arch=('any')
@@ -12,10 +12,15 @@ license=('APACHE')
depends=('python-lsprotocol' 'python-typeguard')
makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-toml' 'python-wheel')
checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
checkdepends=('python-pytest' 'python-pytest-asyncio')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('c2a1c22e30028f7ca9d3f0a04da8eef29f0f1701bdbd97d8614d8e1e6711f336')
b2sums=('9b5c59c9ca6cdd81ad85a355f5eaf4a9fa03198c00573192028489495d0cc832a939a61985fb95710a7032f25c8a6f280e898b4a49c4259b293b82ebc45cdfa2')
sha256sums=('888ed63d1f650b4fc64d603d73d37545386ec533c0caac921aed80f80ea946a4')
b2sums=('0274f5033c8a482ee82afd57944f3bb1e59230fb46654c8f3d5a039f3481b0ede368b6bca373915af78ecec1a79fad50d3b14cb8db5340086ac2c9acf9a6b87f')
prepare() {
cd $_name-$pkgver
sed -i 's/typeguard>=3,<4/typeguard>=3/' setup.cfg
}
build() {
cd $_name-$pkgver
@@ -30,7 +35,6 @@ check() {
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
rm -r "$pkgdir"/usr/lib/site-packages
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")