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: Tue, 14 Sep 2021 15:23:30
Message-Id: 1631632990.98e38bc21876c2f42c5956b1ef1d622b1ebf539b.mgorny@gentoo
1 commit: 98e38bc21876c2f42c5956b1ef1d622b1ebf539b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 09:28:01 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 15:23:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e38bc2
7
8 dev-python/clang-python: Bump to 13.0.0-rc3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/clang-python/Manifest | 1 +
13 .../clang-python/clang-python-13.0.0_rc3.ebuild | 41 ++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
17 index 3b45de6a465..1e33a420186 100644
18 --- a/dev-python/clang-python/Manifest
19 +++ b/dev-python/clang-python/Manifest
20 @@ -2,3 +2,4 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3
21 DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
22 DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
23 DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
24 +DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46
25
26 diff --git a/dev-python/clang-python/clang-python-13.0.0_rc3.ebuild b/dev-python/clang-python/clang-python-13.0.0_rc3.ebuild
27 new file mode 100644
28 index 00000000000..921f7735340
29 --- /dev/null
30 +++ b/dev-python/clang-python/clang-python-13.0.0_rc3.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7..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=""
46 +IUSE="test"
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +RESTRICT="!test? ( test )"
49 +
50 +# The module is opening libclang.so directly, and doing some blasphemy
51 +# on top of it.
52 +RDEPEND="
53 + >=sys-devel/clang-${PV}:*
54 + !sys-devel/llvm:0[clang(-),python(-)]
55 + !sys-devel/clang:0[python(-)]
56 + ${PYTHON_DEPS}"
57 +DEPEND="${RDEPEND}"
58 +
59 +LLVM_COMPONENTS=( clang/bindings/python )
60 +llvm.org_set_globals
61 +
62 +python_test() {
63 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
64 +}
65 +
66 +src_test() {
67 + python_foreach_impl python_test
68 +}
69 +
70 +src_install() {
71 + python_foreach_impl python_domodule clang
72 +}