diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-25 17:27:18 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-25 17:27:18 +0100 |
commit | 24a2c73a74434f901464317a56decbef6fcd9c34 (patch) | |
tree | d8f3130b78982c2b6fc38c63d8212924930942a2 | |
parent | dev-python/pytest-mock: Remove obsolete py.code import (diff) | |
download | gentoo-24a2c73a74434f901464317a56decbef6fcd9c34.tar.gz gentoo-24a2c73a74434f901464317a56decbef6fcd9c34.tar.bz2 gentoo-24a2c73a74434f901464317a56decbef6fcd9c34.zip |
dev-python/pytest-describe: Add test-dep on dev-python/py
Closes: https://bugs.gentoo.org/888213
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild | 17 |
1 files 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 |