From 6100af5eaee3c5be9ef2af33ffc39e73cd2eca46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Oct 2022 18:27:42 +0200 Subject: dev-python/clang-python: Use the new version vars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/clang-python/clang-python-15.0.2.9999.ebuild | 4 ++-- dev-python/clang-python/clang-python-16.0.0.9999.ebuild | 4 ++-- dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dev-python/clang-python') diff --git a/dev-python/clang-python/clang-python-15.0.2.9999.ebuild b/dev-python/clang-python/clang-python-15.0.2.9999.ebuild index f0290ca4c7b1..9b34adc8ac6f 100644 --- a/dev-python/clang-python/clang-python-15.0.2.9999.ebuild +++ b/dev-python/clang-python/clang-python-15.0.2.9999.ebuild @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${PV%%.*} + sys-devel/clang:${LLVM_MAJOR} ) " @@ -40,7 +40,7 @@ llvm.org_set_globals python_test() { # tests rely on results from a specific clang version, so override # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-16.0.0.9999.ebuild b/dev-python/clang-python/clang-python-16.0.0.9999.ebuild index f0290ca4c7b1..9b34adc8ac6f 100644 --- a/dev-python/clang-python/clang-python-16.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-16.0.0.9999.ebuild @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${PV%%.*} + sys-devel/clang:${LLVM_MAJOR} ) " @@ -40,7 +40,7 @@ llvm.org_set_globals python_test() { # tests rely on results from a specific clang version, so override # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild b/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild index f0290ca4c7b1..9b34adc8ac6f 100644 --- a/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild +++ b/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${PV%%.*} + sys-devel/clang:${LLVM_MAJOR} ) " @@ -40,7 +40,7 @@ llvm.org_set_globals python_test() { # tests rely on results from a specific clang version, so override # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } -- cgit v1.2.3