distutils-r1.eclass: distutils_enable_tests, handle no deps better
authorMichał Górny <mgorny@gentoo.org>
Fri, 15 Nov 2019 16:16:34 +0000 (17:16 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 16 Nov 2019 11:00:39 +0000 (12:00 +0100)
commite26c93b0e889c06d28bfc8defe7acaef971ee435
treeb2066d2d4255ec34f5acdabb20cbdce68be3353a
parent3e71cbd8a3a3b45fe6858e5837c2e7535ea3a158
distutils-r1.eclass: distutils_enable_tests, handle no deps better

Do not set IUSE or other variables if the test runner does not have
any deps, and RDEPEND is empty.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/distutils-r1.eclass