commit:     f954275e5d2070f2f63bf69af1689442451f8d50
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  5 05:16:25 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  5 05:37:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f954275e

dev-python/oslo-utils: Add cdrtools test dep for mkisofs

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

 dev-python/oslo-utils/oslo-utils-8.0.0.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild 
b/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild
index 9a8e2700c1e1..187cae23b9d5 100644
--- a/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild
+++ b/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild
@@ -8,7 +8,7 @@ PYPI_NO_NORMALIZE=1
 PYPI_PN=${PN/-/.}
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1 pypi
+inherit check-reqs distutils-r1 pypi
 
 DESCRIPTION="Oslo Utility library"
 HOMEPAGE="
@@ -36,6 +36,7 @@ RDEPEND="
 BDEPEND="
        >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
        test? (
+               app-cdr/cdrtools
                app-emulation/qemu
                >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
                >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
@@ -47,6 +48,17 @@ BDEPEND="
 
 distutils_enable_tests unittest
 
+# note this only applies to USE=test
+CHECKREQS_DISK_BUILD=8G
+
+pkg_pretend() {
+       use test && check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+       use test && check-reqs_pkg_setup
+}
+
 src_prepare() {
        distutils-r1_src_prepare
 

Reply via email to