summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-25 20:47:01 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-25 21:00:20 +0100
commit0901b55f06edeb95a7e7fa3c099aec4612bf6125 (patch)
tree8d34c220501b7b5a85bc28fa5bea55a54fb536be /dev-python/pynvim/pynvim-0.4.3.ebuild
parentdev-python/tqdm: Bump to 4.58.0 (diff)
downloadgentoo-0901b55f06edeb95a7e7fa3c099aec4612bf6125.tar.gz
gentoo-0901b55f06edeb95a7e7fa3c099aec4612bf6125.tar.bz2
gentoo-0901b55f06edeb95a7e7fa3c099aec4612bf6125.zip
dev-python/pynvim: Bump to 0.4.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pynvim/pynvim-0.4.3.ebuild')
-rw-r--r--dev-python/pynvim/pynvim-0.4.3.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pynvim/pynvim-0.4.3.ebuild b/dev-python/pynvim/pynvim-0.4.3.ebuild
new file mode 100644
index 000000000000..c761d8d7cf7c
--- /dev/null
+++ b/dev-python/pynvim/pynvim-0.4.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Python client for Neovim"
+HOMEPAGE="https://github.com/neovim/pynvim"
+SRC_URI="https://github.com/neovim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+DEPEND="
+ dev-python/msgpack[${PYTHON_USEDEP}]
+ virtual/python-greenlet[${PYTHON_USEDEP}]
+ test? ( app-editors/neovim )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -r -i "s:[\"']pytest-runner[\"'](,|)::" setup.py || die
+ distutils-r1_python_prepare_all
+}