Skip to content

Commit

Permalink
dev-util/intel_clc: Add missing dependencies
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/937845
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Aug 13, 2024
1 parent e017d7e commit 3ffcc75
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions dev-util/intel_clc/intel_clc-24.2.0_rc4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,18 @@ DEPEND="${RDEPEND}
"
BDEPEND="
${PYTHON_DEPS}
$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
$(python_gen_any_dep "
>=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
dev-python/packaging[\${PYTHON_USEDEP}]
dev-python/pyyaml[\${PYTHON_USEDEP}]
")
virtual/pkgconfig
"

python_check_deps() {
python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
}

pkg_setup() {
Expand Down
10 changes: 8 additions & 2 deletions dev-util/intel_clc/intel_clc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,18 @@ DEPEND="${RDEPEND}
"
BDEPEND="
${PYTHON_DEPS}
$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
$(python_gen_any_dep "
>=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
dev-python/packaging[\${PYTHON_USEDEP}]
dev-python/pyyaml[\${PYTHON_USEDEP}]
")
virtual/pkgconfig
"

python_check_deps() {
python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
}

pkg_setup() {
Expand Down

0 comments on commit 3ffcc75

Please sign in to comment.