From 4b2655ac560d03840565bc86a175f064d29c8e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 29 Nov 2020 09:54:30 +0100 Subject: dev-python/clang-python: Delay llvm.org_set_globals after vars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/clang-python/clang-python-11.0.0.9999.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev-python/clang-python/clang-python-11.0.0.9999.ebuild') diff --git a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild index 6d7cb294e651..36c6ba65c994 100644 --- a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild @@ -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}" } -- cgit v1.2.3