net-libs/telepathy-haze: QA Fixes

- Add BDEPEND
- has_version -> python_has_version

Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
This commit is contained in:
Matt Jolly
2023-05-12 19:04:33 +10:00
parent 31d90e94b9
commit 42d5d23c08

View File

@@ -26,16 +26,20 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}
dev-libs/libxslt
dev-util/glib-utils
"
BDEPEND="
virtual/pkgconfig
test? (
dev-python/pygobject:3
$(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
)
"
RESTRICT="!test? ( test )"
python_check_deps() {
if use test ; then
has_version "dev-python/twisted[${PYTHON_USEDEP}]"
python_has_version "dev-python/twisted[${PYTHON_USEDEP}]"
fi
}