Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sybil/
Date: Sun, 08 Mar 2020 14:29:51
Message-Id: 1583677560.31221025482b1dc465550acf170b9d28b2542906.mgorny@gentoo
1 commit: 31221025482b1dc465550acf170b9d28b2542906
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 8 13:34:08 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 8 14:26:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31221025
7
8 dev-python/sybil: Enable tests, set DISTUTILS_USE_SETUPTOOLS
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sybil/{sybil-1.2.0.ebuild => sybil-1.2.0-r1.ebuild} | 7 +++++--
13 1 file changed, 5 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-python/sybil/sybil-1.2.0.ebuild b/dev-python/sybil/sybil-1.2.0-r1.ebuild
16 similarity index 71%
17 rename from dev-python/sybil/sybil-1.2.0.ebuild
18 rename to dev-python/sybil/sybil-1.2.0-r1.ebuild
19 index 07699278de2..3918a42c35c 100644
20 --- a/dev-python/sybil/sybil-1.2.0.ebuild
21 +++ b/dev-python/sybil/sybil-1.2.0-r1.ebuild
22 @@ -3,6 +3,7 @@
23
24 EAPI=7
25
26 +DISTUTILS_USE_SETUPTOOLS=rdepend
27 PYTHON_COMPAT=( python3_{6,7,8} )
28 inherit distutils-r1
29
30 @@ -14,6 +15,8 @@ LICENSE="MIT"
31 SLOT="0"
32 KEYWORDS="~amd64 ~x86"
33
34 -RDEPEND="${DEPEND}"
35 +# nose is used to test nosetests integration
36 BDEPEND="
37 - dev-python/setuptools[${PYTHON_USEDEP}]"
38 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
39 +
40 +distutils_enable_tests pytest