Compare commits
1 Commits
2022.0.0a1
...
2023.0.0a1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65206c5e86 |
8
PKGBUILD
8
PKGBUILD
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user