[PATCH] testing/py3-pynvim: new aport
Export this patch
https://github.com/neovim/pynvim
python client and plugin host for Nvim
testing/
---
testing/py3-pynvim/APKBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 testing/py3-pynvim/APKBUILD
diff --git a/testing/py3-pynvim/APKBUILD b/testing/py3-pynvim/APKBUILD
new file mode 100644
index 0000000000..41fbc5f75e
--- /dev/null
+++ b/testing/py3-pynvim/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Galen Abell <galen@galenabell.com>
+# Maintainer: Galen Abell <galen@galenabell.com>
+pkgname="py3-pynvim"
+_pyname="pynvim"
+pkgver="0.4.0"
+pkgrel=0
+pkgdesc="python client and plugin host for Nvim"
+url="https://github.com/neovim/pynvim"
+arch="noarch"
+license="Apache"
Should be Apache-2.0
+depends="python3 py3-msgpack py3-greenlet"
+makedepends="python3-dev"
Since the package is "noarch" this can be "py3-setuptools"
+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="4b3b0e295181cf8886850477d01daba1cba8ac456aedadc5b3881b0b4910724450c4e7774282f6edf3e322792b697ae8e925f40b2a0b181a95eee48aef42a97a pynvim-0.4.0.tar.gz"
--
2.24.0
[PATCH v2] testing/py3-pynvim: new aport
Export this patch
https://github.com/neovim/pynvim
python client and plugin host for Nvim
testing/
---
Changes v1 -> v2:
- Fixed license
- Switched python3-dev to py3-setuptools
Thanks for the feedback!
testing/py3-pynvim/APKBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 testing/py3-pynvim/APKBUILD
diff --git a/testing/py3-pynvim/APKBUILD b/testing/py3-pynvim/APKBUILD
new file mode 100644
index 0000000000..d7fc30a856
--- /dev/null
+++ b/testing/py3-pynvim/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Galen Abell <galen@galenabell.com>
+# Maintainer: Galen Abell <galen@galenabell.com>
+pkgname="py3-pynvim"
+_pyname="pynvim"
+pkgver="0.4.0"
+pkgrel=0
+pkgdesc="python client and plugin host for Nvim"
+url="https://github.com/neovim/pynvim"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 py3-msgpack py3-greenlet"
+makedepends="py3-setuptools"
+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="4b3b0e295181cf8886850477d01daba1cba8ac456aedadc5b3881b0b4910724450c4e7774282f6edf3e322792b697ae8e925f40b2a0b181a95eee48aef42a97a pynvim-0.4.0.tar.gz"
--
2.24.0
Merged with a few changes to allow tests to run succesfully.
Thanks for contributing to Alpine Linux.