~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH] testing/py3-pynvim: new aport

Details
Message ID
<20191120231137.13588-1-galen@galenabell.com>
DKIM signature
missing
Download raw message
Patch: +27 -0
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"
depends="python3 py3-msgpack py3-greenlet"
makedepends="python3-dev"
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
Details
Message ID
<20191121083618.72538107@Impreza>
In-Reply-To
<20191120231137.13588-1-galen@galenabell.com> (view parent)
DKIM signature
missing
Download raw message
> +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"

[PATCH v2] testing/py3-pynvim: new aport

Details
Message ID
<20191121081709.17359-1-galen@galenabell.com>
In-Reply-To
<20191121083618.72538107@Impreza> (view parent)
DKIM signature
missing
Download raw message
Patch: +27 -0
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

Re: [PATCH v2] testing/py3-pynvim: new aport

Details
Message ID
<20191121092528.64fa88d1@Impreza>
In-Reply-To
<20191121081709.17359-1-galen@galenabell.com> (view parent)
DKIM signature
missing
Download raw message
Merged with a few changes to allow tests to run succesfully.

Thanks for contributing to Alpine Linux.
Reply to thread Export thread (mbox)