diff options
author | Sam James <sam@gentoo.org> | 2022-10-15 15:55:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-15 15:55:19 +0100 |
commit | 7b51b9565a4069a42da72ca4857bde60cfef3154 (patch) | |
tree | 58bb7cee1218c97fcfa7eeee26d62b3661a9eadd /media-libs/shaderc | |
parent | dev-db/mongodb: fix PythonHasVersionUsage, PythonAnyMismatchedDepHasVersionCheck (diff) | |
download | gentoo-7b51b9565a4069a42da72ca4857bde60cfef3154.tar.gz gentoo-7b51b9565a4069a42da72ca4857bde60cfef3154.tar.bz2 gentoo-7b51b9565a4069a42da72ca4857bde60cfef3154.zip |
media-libs/shaderc: fix PythonAnyMismatchedDepHasVersionCheck
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/shaderc')
-rw-r--r-- | media-libs/shaderc/shaderc-2022.1-r2.ebuild | 11 | ||||
-rw-r--r-- | media-libs/shaderc/shaderc-2022.2.ebuild | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/media-libs/shaderc/shaderc-2022.1-r2.ebuild b/media-libs/shaderc/shaderc-2022.1-r2.ebuild index 4f70155c9a09..9e5933824f86 100644 --- a/media-libs/shaderc/shaderc-2022.1-r2.ebuild +++ b/media-libs/shaderc/shaderc-2022.1-r2.ebuild @@ -24,12 +24,11 @@ RDEPEND=" DEPEND="${RDEPEND} ${PYTHON_DEPS} >=dev-util/spirv-headers-1.3.216 - test? ( - dev-cpp/gtest - $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') - ) + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( dev-ruby/asciidoctor ) + test? ( $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') ) " -BDEPEND="doc? ( dev-ruby/asciidoctor )" PATCHES=( "${FILESDIR}"/${PN}-2020.4-fix-build.patch @@ -40,7 +39,7 @@ RESTRICT=test python_check_deps() { if use test; then - has_version --host-root "dev-python/nose[${PYTHON_USEDEP}]" + python_has_version "dev-python/nose[${PYTHON_USEDEP}]" fi } diff --git a/media-libs/shaderc/shaderc-2022.2.ebuild b/media-libs/shaderc/shaderc-2022.2.ebuild index ce832420d98f..0e52ee51e2db 100644 --- a/media-libs/shaderc/shaderc-2022.2.ebuild +++ b/media-libs/shaderc/shaderc-2022.2.ebuild @@ -24,7 +24,7 @@ RDEPEND=" DEPEND="${RDEPEND} ${PYTHON_DEPS} >=dev-util/spirv-headers-1.3.224 - test? ( dev-cpp/gtest ) + test? ( dev-cpp/gtest ) " BDEPEND="doc? ( dev-ruby/asciidoctor ) test? ( $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') ) |