aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pynvim/APKBUILD
blob: 07c9a09405e59eda2eb285cd7166f1fac7b4bb0a (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname="py3-pynvim"
_pyname="pynvim"
pkgver="0.4.1"
pkgrel=0
pkgdesc="python client and plugin host for Nvim"
options="!check" # Tests fail on the builders
url="https://github.com/neovim/pynvim"
arch="noarch !aarch64 !s390x" # Arches where neovim is not available
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="78cb343ad02603a0d1c8f56079b46a9d341d8808a19112e758e5299994fe12a433cd61a4dbbaf0d5ffe00c676bcff844a53e910093efb862ad48cc4b4326f7de  pynvim-0.4.1.tar.gz"