blob: 171e0a9e14c11a36a54cd05ff4ab4c7a56fd03e2 (
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
35
36
37
|
# 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"
|