diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-02-04 22:48:34 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-02-04 22:56:52 -0800 |
commit | f9dbe58faa7974353b43c1bca560e51a61d904da (patch) | |
tree | 56470f4ef9669e0b784107b9a0c40fb7f456cc62 /dev-python/pynvim | |
parent | dev-python/neovim-python-client: Drop old versions (diff) | |
download | gentoo-f9dbe58faa7974353b43c1bca560e51a61d904da.tar.gz gentoo-f9dbe58faa7974353b43c1bca560e51a61d904da.tar.bz2 gentoo-f9dbe58faa7974353b43c1bca560e51a61d904da.zip |
dev-python/pynvim: Rename from dev-python/neovim-python-client
Closes: https://bugs.gentoo.org/684310
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/pynvim')
-rw-r--r-- | dev-python/pynvim/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pynvim/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pynvim/pynvim-0.4.0.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pynvim/Manifest b/dev-python/pynvim/Manifest new file mode 100644 index 000000000000..251234203f82 --- /dev/null +++ b/dev-python/pynvim/Manifest @@ -0,0 +1 @@ +DIST pynvim-0.4.0.tar.gz 53443 BLAKE2B de37fde43e90e8277f3c69cedde9226e929f122cc2ff3030766fa716069114bffb27ea9489f2de87c69d3e7a8e0ecc22397a94168cee542d37dc827dc3ed3d13 SHA512 4b3b0e295181cf8886850477d01daba1cba8ac456aedadc5b3881b0b4910724450c4e7774282f6edf3e322792b697ae8e925f40b2a0b181a95eee48aef42a97a diff --git a/dev-python/pynvim/metadata.xml b/dev-python/pynvim/metadata.xml new file mode 100644 index 000000000000..2cfdf28024db --- /dev/null +++ b/dev-python/pynvim/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vim@gentoo.org</email> + <name>Gentoo Vim Project</name> + </maintainer> + <upstream> + <remote-id type="github">neovim/python-client</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pynvim/pynvim-0.4.0.ebuild b/dev-python/pynvim/pynvim-0.4.0.ebuild new file mode 100644 index 000000000000..08c2fb448411 --- /dev/null +++ b/dev-python/pynvim/pynvim-0.4.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} 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}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' python2_7)" + +RDEPEND=" + ${DEPEND} + app-editors/neovim" + +distutils_enable_tests pytest + +python_prepare_all() { + # allow useage of renamed msgpack + sed -r -i "/^msgpack/d ; s:[\"']pytest-runner[\"'](,|)::" setup.py || die + distutils-r1_python_prepare_all +} |