diff options
| author | Michał Górny <mgorny@gentoo.org> | 2022-10-07 18:27:42 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2022-10-07 18:41:21 +0200 |
| commit | 6100af5eaee3c5be9ef2af33ffc39e73cd2eca46 (patch) | |
| tree | fc2d81d881df7e2b880e406f0688e41905da7c89 /dev-python/clang-python/clang-python-16.0.0.9999.ebuild | |
| parent | 4f247902092ab09a5b8662a89006900675bee099 (diff) | |
| download | gentoo-6100af5eaee3c5be9ef2af33ffc39e73cd2eca46.tar.gz gentoo-6100af5eaee3c5be9ef2af33ffc39e73cd2eca46.tar.bz2 gentoo-6100af5eaee3c5be9ef2af33ffc39e73cd2eca46.zip | |
dev-python/clang-python: Use the new version vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/clang-python/clang-python-16.0.0.9999.ebuild')
| -rw-r--r-- | dev-python/clang-python/clang-python-16.0.0.9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
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}" } |
