aports/community/py3-pynvim/APKBUILD
2023-04-25 07:00:46 +00:00

33 lines
866 B
Plaintext

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-pynvim
_pyname=pynvim
pkgver=0.4.3
pkgrel=6
pkgdesc="python client and plugin host for Nvim"
url="https://github.com/neovim/pynvim"
arch="noarch"
license="Apache-2.0"
depends="neovim python3 py3-msgpack py3-greenlet"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
subpackages="$pkgname-pyc"
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
"