commit:     aaa8b4c986f816974543f4535ce502779df89804
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jun 11 11:01:32 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jun 11 11:01:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aaa8b4c9

app-portage/gentle: add test deps

Closes: https://bugs.gentoo.org/908304
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-portage/gentle/gentle-0.1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/app-portage/gentle/gentle-0.1.ebuild 
b/app-portage/gentle/gentle-0.1.ebuild
index 67fa0d501..d23e040da 100644
--- a/app-portage/gentle/gentle-0.1.ebuild
+++ b/app-portage/gentle/gentle-0.1.ebuild
@@ -15,11 +15,18 @@ LICENSE="WTFPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
 
-BDEPEND="test? ( app-text/xmldiff[${PYTHON_USEDEP}] )"
+BDEPEND="
+       test? (
+               app-text/xmldiff[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep \
+                       'dev-python/tomli[${PYTHON_USEDEP}]' 3.10 )
+       )
+"
 
 distutils_enable_tests pytest
 
 pkg_postinst() {
-       optfeature "toml support" dev-python/tomli
        optfeature "yaml support" dev-python/pyyaml
+       optfeature "toml support" dev-python/tomli
 }

Reply via email to