1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
9 DESCRIPTION="Python client for Neovim"
10 HOMEPAGE="https://github.com/neovim/pynvim"
11 SRC_URI="https://github.com/neovim/pynvim/archive/${PV}.tar.gz -> ${P}.tar.gz"
12 S="${WORKDIR}/pynvim-${PV}"
16 KEYWORDS="~amd64 ~arm ~x86"
19 dev-python/msgpack[${PYTHON_USEDEP}]
20 virtual/python-greenlet[${PYTHON_USEDEP}]
21 $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' python2_7)"
27 distutils_enable_tests pytest
29 python_prepare_all() {
30 # allow useage of renamed msgpack
31 sed -r -i "/^msgpack/d ; s:[\"']pytest-runner[\"'](,|)::" setup.py || die
32 distutils-r1_python_prepare_all