commit:     4b2655ac560d03840565bc86a175f064d29c8e9b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 08:54:30 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 08:58:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2655ac

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/clang-python/clang-python-11.0.0.9999.ebuild | 5 +++--
 dev-python/clang-python/clang-python-12.0.0.9999.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

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 6d7cb294e65..36c6ba65c99 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}"
 }

diff --git a/dev-python/clang-python/clang-python-12.0.0.9999.ebuild 
b/dev-python/clang-python/clang-python-12.0.0.9999.ebuild
index 6d7cb294e65..36c6ba65c99 100644
--- a/dev-python/clang-python/clang-python-12.0.0.9999.ebuild
+++ b/dev-python/clang-python/clang-python-12.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}"
 }

Reply via email to