dev-util/roctracer: use python_has_version inside python_check_deps

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-10-08 19:48:21 +03:00
parent 4b2b093820
commit 340726861f
3 changed files with 6 additions and 6 deletions

View File

@@ -37,8 +37,8 @@ PATCHES=(
)
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
has_version "dev-python/ply[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
"dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {

View File

@@ -40,8 +40,8 @@ PATCHES=(
)
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
has_version "dev-python/ply[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
"dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {

View File

@@ -38,8 +38,8 @@ PATCHES=(
)
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" &&
has_version "dev-python/ply[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \
"dev-python/ply[${PYTHON_USEDEP}]"
}
src_prepare() {