diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-03-27 17:32:00 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-03-27 17:32:23 -0700 |
commit | 43b385559f82776239c1fd7b9f9e5095897107b8 (patch) | |
tree | fac28403c08c0e4a1c8a5acc001b2e193f0864ea /app-admin/yadm/yadm-2.4.0.ebuild | |
parent | app-admin/yadm: Security bump to 2.4.0 (diff) | |
download | gentoo-43b385559f82776239c1fd7b9f9e5095897107b8.tar.gz gentoo-43b385559f82776239c1fd7b9f9e5095897107b8.tar.bz2 gentoo-43b385559f82776239c1fd7b9f9e5095897107b8.zip |
app-admin/yadm: minor QA
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin/yadm/yadm-2.4.0.ebuild')
-rw-r--r-- | app-admin/yadm/yadm-2.4.0.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/app-admin/yadm/yadm-2.4.0.ebuild b/app-admin/yadm/yadm-2.4.0.ebuild index b6f903a85808..10da88e012a8 100644 --- a/app-admin/yadm/yadm-2.4.0.ebuild +++ b/app-admin/yadm/yadm-2.4.0.ebuild @@ -13,6 +13,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" + RESTRICT="!test? ( test )" RDEPEND=" @@ -21,7 +22,10 @@ RDEPEND=" " DEPEND=" - test? ( dev-tcltk/expect dev-python/pytest ${RDEPEND} ) + test? ( ${RDEPEND} + dev-python/pytest + dev-tcltk/expect + ) " src_compile() { @@ -34,12 +38,12 @@ src_test() { # test_syntax: needs yamllint (not packaged) # test_compat_alt: known broken, tests deprecated features # test_compat_jinja: needs envtpl - rm test/test_encryption.py || die - rm test/test_alt.py || die - rm test/test_compat_jinja.py || die - rm test/test_unit_template_j2.py || die - rm test/test_syntax.py || die - rm test/test_compat_alt.py || die + rm -v test/test_encryption.py || die + rm -v test/test_alt.py || die + rm -v test/test_compat_jinja.py || die + rm -v test/test_unit_template_j2.py || die + rm -v test/test_syntax.py || die + rm -v test/test_compat_alt.py || die pytest || die "Testsuite failed under ${EPYTHON}" } |