Skip to content

Commit

Permalink
dev-util/rocprofiler: use python_has_version inside python_check_deps
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Oct 8, 2022
1 parent 727133f commit 4b2b093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-util/rocprofiler/rocprofiler-4.3.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-util/rocprofiler/rocprofiler-5.0.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-util/rocprofiler/rocprofiler-5.1.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4b2b093

Please sign in to comment.