commit:     31221025482b1dc465550acf170b9d28b2542906
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  8 13:34:08 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar  8 14:26:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31221025

dev-python/sybil: Enable tests, set DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sybil/{sybil-1.2.0.ebuild => sybil-1.2.0-r1.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/sybil/sybil-1.2.0.ebuild 
b/dev-python/sybil/sybil-1.2.0-r1.ebuild
similarity index 71%
rename from dev-python/sybil/sybil-1.2.0.ebuild
rename to dev-python/sybil/sybil-1.2.0-r1.ebuild
index 07699278de2..3918a42c35c 100644
--- a/dev-python/sybil/sybil-1.2.0.ebuild
+++ b/dev-python/sybil/sybil-1.2.0-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1
 
@@ -14,6 +15,8 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="${DEPEND}"
+# nose is used to test nosetests integration
 BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]"
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest

Reply via email to