Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/neovim-python-client/
Date: Thu, 28 Nov 2019 20:08:23
Message-Id: 1574971647.28c71109140d3a4f166f3f1a32d0c032afaf23cb.chutzpah@gentoo
1 commit: 28c71109140d3a4f166f3f1a32d0c032afaf23cb
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 28 19:57:57 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 28 20:07:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c71109
7
8 app-editors/neovim-0.4.3: Version bump, add py38, pypy{,3}
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
12
13 dev-python/neovim-python-client/Manifest | 1 +
14 .../neovim-python-client-0.4.0.ebuild | 34 ++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-python/neovim-python-client/Manifest b/dev-python/neovim-python-client/Manifest
18 index 16d006019fe..bf5ade42e37 100644
19 --- a/dev-python/neovim-python-client/Manifest
20 +++ b/dev-python/neovim-python-client/Manifest
21 @@ -1,2 +1,3 @@
22 DIST neovim-python-client-0.3.1.tar.gz 51626 BLAKE2B 80e68d02d41c7891fb88e9386866f87a1c78acc9e279de4ce4c7022333f8da3b68ffe7c598c84ff9c6386458639b6ffb4aecbfe72288866dc147ffc6197e94e2 SHA512 9c1599aabce9f0e1133364f8e91dd1b57cee107a11d400f530218ec7ad157c2f58134c1e7e8fc27649b4d8953e27c51bf6e4f0e7565d8c3dab94788759eea229
23 DIST neovim-python-client-0.3.2.tar.gz 51954 BLAKE2B 8e0a5eb510797db260ab501b751921f5c98551a06cf874eecff270f5f92da5d24539b857b4cc08494be9dfed139fd3bcab1cdea75ee87d99cece8e1f48f7a1c5 SHA512 c6d7c1a2955c63ac2f59bc57e190886fe0ee0238951ac26205b537d394b2ce2fee3611e8651ae1da5e6e7b3a1bd3bea36912b918b26e01bbb3354ddc2fbd77fc
24 +DIST neovim-python-client-0.4.0.tar.gz 53443 BLAKE2B de37fde43e90e8277f3c69cedde9226e929f122cc2ff3030766fa716069114bffb27ea9489f2de87c69d3e7a8e0ecc22397a94168cee542d37dc827dc3ed3d13 SHA512 4b3b0e295181cf8886850477d01daba1cba8ac456aedadc5b3881b0b4910724450c4e7774282f6edf3e322792b697ae8e925f40b2a0b181a95eee48aef42a97a
25
26 diff --git a/dev-python/neovim-python-client/neovim-python-client-0.4.0.ebuild b/dev-python/neovim-python-client/neovim-python-client-0.4.0.ebuild
27 new file mode 100644
28 index 00000000000..66bdce84077
29 --- /dev/null
30 +++ b/dev-python/neovim-python-client/neovim-python-client-0.4.0.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python client for Neovim"
41 +HOMEPAGE="https://github.com/neovim/pynvim"
42 +SRC_URI="https://github.com/neovim/pynvim/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}/pynvim-${PV}"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~x86"
48 +
49 +DEPEND="
50 + dev-python/msgpack[${PYTHON_USEDEP}]
51 + virtual/python-greenlet[${PYTHON_USEDEP}]
52 + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' python2_7)"
53 +
54 +RDEPEND="
55 + ${DEPEND}
56 + app-editors/neovim"
57 +
58 +distutils_enable_tests pytest
59 +
60 +
61 +python_prepare_all() {
62 + # allow useage of renamed msgpack
63 + sed -r -i "/^msgpack/d ; s:[\"']pytest-runner[\"'](,|)::" setup.py || die
64 + distutils-r1_python_prepare_all
65 +}