mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
37 lines
1.3 KiB
Text
37 lines
1.3 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" ;;
|
|
|
|
# Missing checkdepends: py3-numpy
|
|
mips*) options="$options !check" ;;
|
|
esac
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="b63be132a5eca3e5e59745f64edf56b8451c71f9f019b0760adb989180e11ba91bee574d62d980d8d25fc61e2eaac44beddb93e1e0fb221c90dd6fe789e52633 python-language-server-0.31.9.tar.gz"
|