1 |
commit: 4e5d83bec51dc1397f5a3e3c1068a01855d68436 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 30 09:44:42 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 30 10:01:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5d83be |
7 |
|
8 |
dev-python/clang-python: Bump to 13.0.1_rc1 |
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.1_rc1.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 826997b3c689..e08cd107ad6d 100644 |
18 |
--- a/dev-python/clang-python/Manifest |
19 |
+++ b/dev-python/clang-python/Manifest |
20 |
@@ -1,3 +1,4 @@ |
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.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2 |
24 |
+DIST llvmorg-13.0.1-rc1.tar.gz 147284646 BLAKE2B 3a1d8d382de633b7f8fc998f8ad1e03c24b733aefc591615cbd34115d1d6d74962ae33bbf2224527b521a76930ffee425527225563a558a04173e9aa9487c781 SHA512 d487bfc9b898ad0046e0c94338d7757d8a05a1a84d683abfbc9ed4994c6d12caf88fd18575225e284070fc67b3ac0970ca6639e61b1a7cc2948b216a5364a22d |
25 |
|
26 |
diff --git a/dev-python/clang-python/clang-python-13.0.1_rc1.ebuild b/dev-python/clang-python/clang-python-13.0.1_rc1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..921f7735340a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/clang-python/clang-python-13.0.1_rc1.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 |
+} |