mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=jedi-language-server
|
|
pkgver=0.41.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
|
|
py3-typing-extensions
|
|
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="
|
|
ff815a15c9e7cafe97228d747c526db758756b08b9d733ffafb85633eb764afd4d3b5ba1f9ae31821fcaf7e70b49f3d0dccb389e6e898d1ce6fd4cf6bed552e4 jedi-language-server-0.41.1.tar.gz
|
|
"
|