mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 13:16:58 +02:00
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=jedi-language-server
|
|
pkgver=0.44.0
|
|
pkgrel=0
|
|
pkgdesc="Python language server exclusively for Jedi"
|
|
url="https://github.com/pappasam/jedi-language-server"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-cattrs
|
|
py3-docstring-to-markdown
|
|
py3-gls
|
|
py3-jedi
|
|
py3-lsprotocol
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-poetry-core
|
|
"
|
|
checkdepends="py3-pytest py3-pyhamcrest py3-jsonrpc-server py3-lsp-jsonrpc"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pappasam/jedi-language-server/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/jedi_language_server-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
275db0d119cb1cdd9029a60e784f57ea221920d9981e83425c28ad54fbf8780dfac7ece069589e81b198311a0dd23a759a2cfee7757dc72f29fa7aafbbb85b11 jedi-language-server-0.44.0.tar.gz
|
|
"
|