commit: 9bdd7772d88c344744692e16c0be8e1a6d5bbdf1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 23:21:58 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 23:23:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bdd7772
dev-python/oslo-i18n: guard test dependencies behind test? ( ... )
Revbumping to allow people to depclean these without relying on
dynamic deps.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{oslo-i18n-5.0.1.ebuild => oslo-i18n-5.0.1-r1.ebuild} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
b/dev-python/oslo-i18n/oslo-i18n-5.0.1-r1.ebuild
similarity index 82%
rename from dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
rename to dev-python/oslo-i18n/oslo-i18n-5.0.1-r1.ebuild
index 818c78cd180..29cb1ee5c79 100644
--- a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
+++ b/dev-python/oslo-i18n/oslo-i18n-5.0.1-r1.ebuild
@@ -12,7 +12,7 @@ MY_P=${MY_PN}-${PV}
DESCRIPTION="Oslo i18n library"
HOMEPAGE="https://launchpad.net/oslo"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}"/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
@@ -26,8 +26,10 @@ RDEPEND="
"
BDEPEND="
${CDEPEND}
- >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
- >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ )
"
distutils_enable_tests unittest