Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/
Date: Sun, 29 Nov 2020 08:59:37
Message-Id: 1606640333.4b2655ac560d03840565bc86a175f064d29c8e9b.mgorny@gentoo
1 commit: 4b2655ac560d03840565bc86a175f064d29c8e9b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 08:54:30 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 08:58:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2655ac
7
8 dev-python/clang-python: Delay llvm.org_set_globals after vars
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/clang-python/clang-python-11.0.0.9999.ebuild | 5 +++--
13 dev-python/clang-python/clang-python-12.0.0.9999.ebuild | 5 +++--
14 2 files changed, 6 insertions(+), 4 deletions(-)
15
16 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
17 index 6d7cb294e65..36c6ba65c99 100644
18 --- a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild
19 +++ b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild
20 @@ -8,8 +8,6 @@ inherit llvm.org python-r1
21
22 DESCRIPTION="Python bindings for sys-devel/clang"
23 HOMEPAGE="https://llvm.org/"
24 -LLVM_COMPONENTS=( clang/bindings/python )
25 -llvm.org_set_globals
26
27 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
28 SLOT="0"
29 @@ -27,6 +25,9 @@ RDEPEND="
30 ${PYTHON_DEPS}"
31 DEPEND="${RDEPEND}"
32
33 +LLVM_COMPONENTS=( clang/bindings/python )
34 +llvm.org_set_globals
35 +
36 python_test() {
37 "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
38 }
39
40 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
41 index 6d7cb294e65..36c6ba65c99 100644
42 --- a/dev-python/clang-python/clang-python-12.0.0.9999.ebuild
43 +++ b/dev-python/clang-python/clang-python-12.0.0.9999.ebuild
44 @@ -8,8 +8,6 @@ inherit llvm.org python-r1
45
46 DESCRIPTION="Python bindings for sys-devel/clang"
47 HOMEPAGE="https://llvm.org/"
48 -LLVM_COMPONENTS=( clang/bindings/python )
49 -llvm.org_set_globals
50
51 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
52 SLOT="0"
53 @@ -27,6 +25,9 @@ RDEPEND="
54 ${PYTHON_DEPS}"
55 DEPEND="${RDEPEND}"
56
57 +LLVM_COMPONENTS=( clang/bindings/python )
58 +llvm.org_set_globals
59 +
60 python_test() {
61 "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
62 }