mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 10:04:36 +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.45.1
|
|
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="
|
|
d3a9cf7ed845211f94d5ac8873506a53bad268150f6b132bff8191fd9a88bb9c7a4c6f6a87dc166db87b68df74c6386c57387c158dc105deec78f4ab8ceed67b jedi-language-server-0.45.1.tar.gz
|
|
"
|