mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname="py3-language-server"
|
|
pkgver="0.31.9"
|
|
pkgrel=0
|
|
pkgdesc="An implementation of the Language Server Protocol for Python"
|
|
url="https://github.com/palantir/python-language-server"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-wheel py3-ujson py3-pydocstyle py3-jsonrpc-server py3-jedi py3-parso py3-setuptools py3-pluggy"
|
|
checkdepends="py3-pytest py3-mock py3-pycodestyle py3-pyflakes py3-mccabe
|
|
py3-autopep8 py3-pylint py3-python-versioneer py3-pytest-cov py3-coverage
|
|
py3-numpy py3-pandas py3-matplotlib py3-qt5 py3-yapf py3-rope"
|
|
source="https://github.com/palantir/python-language-server/archive/$pkgver/python-language-server-$pkgver.tar.gz"
|
|
builddir="$srcdir/python-language-server-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
# Missing checkdepends: py3-qt5
|
|
armhf) options="$options !check" ;;
|
|
esac
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="012127054080c0e7196f84e3dc0e066fc55741529f199104508bc875018f8c92ebe04cf47c4c746916a0f02b7e34f3234ee4eb82d3e908b67389849eb7581cb7 python-language-server-0.31.9.tar.gz"
|