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: Sat, 30 Apr 2022 07:35:11
Message-Id: 1651304083.b8d6491243ead37892b47084344e6bfba42fd96a.mgorny@gentoo
1 commit: b8d6491243ead37892b47084344e6bfba42fd96a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 08:46:54 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 07:34:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d64912
7
8 dev-python/clang-python: Bump to 14.0.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/clang-python/Manifest | 1 +
13 dev-python/clang-python/clang-python-14.0.3.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
17 index 4dfb61c584a9..bf3dff4f0680 100644
18 --- a/dev-python/clang-python/Manifest
19 +++ b/dev-python/clang-python/Manifest
20 @@ -1,3 +1,4 @@
21 DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
22 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
23 DIST llvmorg-14.0.1.tar.gz 158074615 BLAKE2B bf80366461580058494eb101646efcd1a8b55a66818a710c2eb8c649bf88c02fe4552cecf4c1c8637a64e7cee8d644bca31aafc804765ed18f2b5e2975dd6c92 SHA512 0a15aa9cfc978a7b03a1659a2affad65ede66d280f5c12bf0beaaf194cd7bdd57ff438b5f40e64c1e1b88f368de99be349e9d30b544d2bbe4a50f0ebed3307f2
24 +DIST llvmorg-14.0.3.tar.gz 158092596 BLAKE2B ef901df510ec6bc1242595ec330e9c9ee76e696b077d67a8d62b53608c3d18b2f2d7ea3150864e13d9b37a8ce899ebca946ebe72cbc4538700176e20859ddec2 SHA512 511e93fd9b1c414c38fe9e2649679ac0b16cb04f7f7838569d187b04c542a185e364d6db73e96465026e3b2533649eb75ac95507d12514af32b28bdfb66f2646
25
26 diff --git a/dev-python/clang-python/clang-python-14.0.3.ebuild b/dev-python/clang-python/clang-python-14.0.3.ebuild
27 new file mode 100644
28 index 000000000000..0b7cef715981
29 --- /dev/null
30 +++ b/dev-python/clang-python/clang-python-14.0.3.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit llvm.org python-r1
39 +
40 +DESCRIPTION="Python bindings for sys-devel/clang"
41 +HOMEPAGE="https://llvm.org/"
42 +
43 +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +# The module is opening libclang.so directly, and doing some blasphemy
51 +# on top of it.
52 +DEPEND="
53 + >=sys-devel/clang-${PV}:*
54 + !sys-devel/llvm:0[clang(-),python(-)]
55 + !sys-devel/clang:0[python(-)]
56 +"
57 +RDEPEND="
58 + ${DEPEND}
59 + ${PYTHON_DEPS}
60 +"
61 +BDEPEND="
62 + ${PYTHON_DEPS}
63 +"
64 +
65 +LLVM_COMPONENTS=( clang/bindings/python )
66 +llvm.org_set_globals
67 +
68 +python_test() {
69 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
70 +}
71 +
72 +src_test() {
73 + python_foreach_impl python_test
74 +}
75 +
76 +src_install() {
77 + python_foreach_impl python_domodule clang
78 +}