summaryrefslogtreecommitdiff
path: root/community/py3-pynvim/APKBUILD
blob: 4aaf18eca45ed616ae5b5eedb7bee1a2f59f6a38 (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-pynvim
_pyname=pynvim
pkgver=0.4.3
pkgrel=5
pkgdesc="python client and plugin host for Nvim"
url="https://github.com/neovim/pynvim"
arch="noarch !riscv64" # rv64 no luajit
license="Apache-2.0"
depends="neovim python3 py3-msgpack py3-greenlet"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
source="$_pyname-$pkgver.tar.gz::https://github.com/neovim/$_pyname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
5d8fc7623a5bc2e069991b901dbd4dcc6005ddab31e2f0a70ee50c2d6febf3b5c29a61fc4dce454aa494779d7a869a1e92a2a97cb66212ed858c3d3fd77c0f55  pynvim-0.4.3.tar.gz
"