Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/vimball/
Date: Wed, 14 Aug 2019 23:17:09
Message-Id: 1565824481.ec4a00e9005a7fd27d83aadaec7d6c739ac915e2.radhermit@gentoo
1 commit: ec4a00e9005a7fd27d83aadaec7d6c739ac915e2
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 23:05:02 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 23:14:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4a00e9
7
8 app-arch/vimball: bump to EAPI 7, add py37 support, and missing test RESTRICT
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 app-arch/vimball/vimball-0.5.1.ebuild | 11 ++++++-----
13 app-arch/vimball/vimball-9999.ebuild | 9 +++++----
14 2 files changed, 11 insertions(+), 9 deletions(-)
15
16 diff --git a/app-arch/vimball/vimball-0.5.1.ebuild b/app-arch/vimball/vimball-0.5.1.ebuild
17 index 56775e8beca..280fc206bc0 100644
18 --- a/app-arch/vimball/vimball-0.5.1.ebuild
19 +++ b/app-arch/vimball/vimball-0.5.1.ebuild
20 @@ -1,8 +1,8 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -PYTHON_COMPAT=( python{3_5,3_6} )
26 +EAPI=7
27 +PYTHON_COMPAT=( python{3_5,3_6,3_7} )
28 inherit distutils-r1
29
30 if [[ ${PV} == *9999 ]] ; then
31 @@ -19,10 +19,11 @@ HOMEPAGE="https://github.com/radhermit/vimball"
32 LICENSE="MIT"
33 SLOT="0"
34 IUSE="test"
35 +RESTRICT="!test? ( test )"
36
37 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
38 -DEPEND="${RDEPEND}
39 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
40 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
41 +RDEPEND="${BDEPEND}"
42 +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
43
44 python_test() {
45 esetup.py test
46
47 diff --git a/app-arch/vimball/vimball-9999.ebuild b/app-arch/vimball/vimball-9999.ebuild
48 index 82a39960d3e..280fc206bc0 100644
49 --- a/app-arch/vimball/vimball-9999.ebuild
50 +++ b/app-arch/vimball/vimball-9999.ebuild
51 @@ -2,7 +2,7 @@
52 # Distributed under the terms of the GNU General Public License v2
53
54 EAPI=7
55 -PYTHON_COMPAT=( python3_{6,7} )
56 +PYTHON_COMPAT=( python{3_5,3_6,3_7} )
57 inherit distutils-r1
58
59 if [[ ${PV} == *9999 ]] ; then
60 @@ -19,10 +19,11 @@ HOMEPAGE="https://github.com/radhermit/vimball"
61 LICENSE="MIT"
62 SLOT="0"
63 IUSE="test"
64 +RESTRICT="!test? ( test )"
65
66 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
67 -DEPEND="${RDEPEND}
68 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
69 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
70 +RDEPEND="${BDEPEND}"
71 +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
72
73 python_test() {
74 esetup.py test