Diff clang-python-14.0.6 with a clang-python-15.0.7
/usr/portage/dev-python/clang-python/clang-python-15.0.7.ebuild 2023-10-09 14:52:30.264368370 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..10} ) |
|
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 | 7 |
inherit llvm.org python-r1 |
8 | 8 | |
9 | 9 |
DESCRIPTION="Python bindings for sys-devel/clang" |
... | ... | |
29 | 29 |
" |
30 | 30 |
BDEPEND=" |
31 | 31 |
${PYTHON_DEPS} |
32 |
test? ( |
|
33 |
sys-devel/clang:${LLVM_MAJOR} |
|
34 |
) |
|
32 | 35 |
" |
33 | 36 | |
34 | 37 |
LLVM_COMPONENTS=( clang/bindings/python ) |
35 | 38 |
llvm.org_set_globals |
36 | 39 | |
37 | 40 |
python_test() { |
41 |
# tests rely on results from a specific clang version, so override |
|
42 |
# the search path |
|
43 |
local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) |
|
44 |
local -x CLANG_NO_DEFAULT_CONFIG=1 |
|
38 | 45 |
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" |
39 | 46 |
} |
40 | 47 |