blob: 0f4a02777c7fa83f608ff0e2e99ef330449d7777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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"
|