mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
https://github.com/microsoft/lsprotocol Python implementation of the Language Server Protocol
43 lines
874 B
Text
43 lines
874 B
Text
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-lsprotocol
|
|
pkgver=2022.0.0a10
|
|
pkgrel=0
|
|
pkgdesc="Python implementation of the Language Server Protocol"
|
|
url="https://github.com/microsoft/lsprotocol"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-attrs
|
|
py3-cattrs
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-flit-core
|
|
py3-gpep517
|
|
"
|
|
checkdepends="
|
|
py3-jsonschema
|
|
py3-pyhamcrest
|
|
py3-pytest
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/lsprotocol/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/lsprotocol-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
7896615457e60348221bf89b9429b1af5bb6b4a2008241da0383362c139237c69c55ffe60a9a6e30e9da3628a5f28c446f1b263fb3a914dfb448f9e88ad9dcfb py3-lsprotocol-2022.0.0a10.tar.gz
|
|
"
|