commit:     24a2c73a74434f901464317a56decbef6fcd9c34
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 16:27:18 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 16:27:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a2c73a

dev-python/pytest-describe: Add test-dep on dev-python/py

Closes: https://bugs.gentoo.org/888213
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../pytest-describe/pytest-describe-2.0.1-r1.ebuild     | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild 
b/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild
index 36550c410a31..b739cdca9b44 100644
--- a/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild
+++ b/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild
@@ -5,18 +5,29 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..11} )
+
 inherit distutils-r1
 
 DESCRIPTION="Describe-style plugin for pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-describe/
-       https://pypi.org/project/pytest-describe/";
+HOMEPAGE="
+       https://github.com/pytest-dev/pytest-describe/
+       https://pypi.org/project/pytest-describe/
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
 
-RDEPEND=">=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]"
+RDEPEND="
+       >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/py[${PYTHON_USEDEP}]
+       )
+"
 
 distutils_enable_tests pytest
 

Reply via email to