mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py3-pynvim: upgrade to 0.5.0
This commit is contained in:
parent
43a565c116
commit
2b68c75f4e
@ -2,31 +2,36 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=py3-pynvim
|
||||
_pyname=pynvim
|
||||
pkgver=0.4.3
|
||||
pkgrel=6
|
||||
pkgver=0.5.0
|
||||
pkgrel=0
|
||||
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"
|
||||
depends="neovim py3-msgpack py3-greenlet"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
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
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
python3 -m venv --clear --system-site-packages testenv
|
||||
testenv/bin/python3 -m installer dist/*.whl
|
||||
testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
5d8fc7623a5bc2e069991b901dbd4dcc6005ddab31e2f0a70ee50c2d6febf3b5c29a61fc4dce454aa494779d7a869a1e92a2a97cb66212ed858c3d3fd77c0f55 pynvim-0.4.3.tar.gz
|
||||
91ffe3f42cc23ba372223b8c9f6930b0cff9d30b6764052a77a5c34e39a3312a1834b9a753152e96d04d5b4b61ce647bd7470095fac3122ae6b1346dcdf07f2f pynvim-0.5.0.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user