diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-21 18:52:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-21 18:52:37 +0000 |
| commit | e39b2a9c1304e235c41cc68798aab341eb850f1b (patch) | |
| tree | 207b4751aec38e735c52a5c8c944ebf8a3c93879 /dev-python/clang-python/clang-python-15.0.1.ebuild | |
| parent | 2ce87fedd92512ece9d03a4c664d0753faf9e088 (diff) | |
| download | baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.tar.gz baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.tar.xz baldeagleos-repo-e39b2a9c1304e235c41cc68798aab341eb850f1b.zip | |
Adding metadata
Diffstat (limited to 'dev-python/clang-python/clang-python-15.0.1.ebuild')
| -rw-r--r-- | dev-python/clang-python/clang-python-15.0.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/clang-python/clang-python-15.0.1.ebuild b/dev-python/clang-python/clang-python-15.0.1.ebuild index e347899e1291..dd04f9fcf59a 100644 --- a/dev-python/clang-python/clang-python-15.0.1.ebuild +++ b/dev-python/clang-python/clang-python-15.0.1.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}" } |
