mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
29 lines
944 B
Text
29 lines
944 B
Text
# 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"
|