dev-python/clang-python: Delay llvm.org_set_globals after vars

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-11-29 09:54:30 +01:00
parent 95cf0007b9
commit 4b2655ac56
2 changed files with 6 additions and 4 deletions

View File

@@ -8,8 +8,6 @@ inherit llvm.org python-r1
DESCRIPTION="Python bindings for sys-devel/clang"
HOMEPAGE="https://llvm.org/"
LLVM_COMPONENTS=( clang/bindings/python )
llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
@@ -27,6 +25,9 @@ RDEPEND="
${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
LLVM_COMPONENTS=( clang/bindings/python )
llvm.org_set_globals
python_test() {
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
}

View File

@@ -8,8 +8,6 @@ inherit llvm.org python-r1
DESCRIPTION="Python bindings for sys-devel/clang"
HOMEPAGE="https://llvm.org/"
LLVM_COMPONENTS=( clang/bindings/python )
llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
@@ -27,6 +25,9 @@ RDEPEND="
${PYTHON_DEPS}"
DEPEND="${RDEPEND}"
LLVM_COMPONENTS=( clang/bindings/python )
llvm.org_set_globals
python_test() {
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
}