1 Commits

Author SHA1 Message Date
Daniel M. Capella
65206c5e86 upgpkg: 2023.0.0a1-1 2023-03-03 19:03:57 +00:00

View File

@@ -2,7 +2,7 @@
_name=lsprotocol
pkgname=python-lsprotocol
pkgver=2022.0.0a10
pkgver=2023.0.0a1
pkgrel=1
pkgdesc='Python implementation of the Language Server Protocol'
arch=('any')
@@ -15,17 +15,17 @@ source=("git+$url.git?tag=$pkgver")
b2sums=('SKIP')
build() {
cd $_name
cd $_name/packages/python
python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
cd $_name
pytest tests
pytest tests/python
}
package() {
cd $_name
cd $_name/packages/python
python -m installer --destdir="$pkgdir" dist/*.whl
# Symlink license file