1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-pynvim/APKBUILD
2021-06-29 09:06:30 +00:00

29 lines
909 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-pynvim
_pyname=pynvim
pkgver=0.4.3
pkgrel=2
pkgdesc="python client and plugin host for Nvim"
options="!check" # Tests fail on the builders
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="5d8fc7623a5bc2e069991b901dbd4dcc6005ddab31e2f0a70ee50c2d6febf3b5c29a61fc4dce454aa494779d7a869a1e92a2a97cb66212ed858c3d3fd77c0f55 pynvim-0.4.3.tar.gz"