From e39b2a9c1304e235c41cc68798aab341eb850f1b Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 21 Sep 2022 18:52:37 +0000 Subject: Adding metadata --- dev-python/clang-python/clang-python-16.0.0.9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dev-python/clang-python/clang-python-16.0.0.9999.ebuild') 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 04eb349df22e..63106cbd0017 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 @@ -29,12 +29,18 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) " LLVM_COMPONENTS=( clang/bindings/python ) 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) "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } -- cgit v1.3.1