dev-util/rocprofiler: 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:46:46 +03:00
parent 727133fa83
commit 4b2b093820
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ PATCHES=( "${FILESDIR}/${P}-fix-gcc11.patch"
"${FILESDIR}/${PN}-4.3.0-gentoo-location.patch" )
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
}
src_prepare() {

View File

@@ -32,7 +32,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.3.0-nostrip.patch"
"${FILESDIR}/${PN}-5.0.2-gentoo-location.patch" )
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
}
src_prepare() {

View File

@@ -31,7 +31,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.3.0-nostrip.patch"
"${FILESDIR}/${PN}-5.0.2-gentoo-location.patch" )
python_check_deps() {
has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"
}
src_prepare() {