1 |
commit: d898e2095bc93cc5aeb9ef58c9b6707a3edc87b6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 14 08:56:51 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 14 09:55:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d898e209 |
7 |
|
8 |
dev-python/clang-python: Bump to 9.0.1_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-9.0.1_rc3.ebuild | 40 ++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest |
17 |
index 59f3026967a..7ee8067d2f5 100644 |
18 |
--- a/dev-python/clang-python/Manifest |
19 |
+++ b/dev-python/clang-python/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST cfe-7.1.0.src.tar.xz 12487872 BLAKE2B ca6ec9e45b94823de1dabf9e68f0c97cdd40b |
21 |
DIST cfe-8.0.1.src.tar.xz 12810056 BLAKE2B 88cee0b6daa477ca0473c76efc45beb634f6194ecd3f45aaec3791e26b203c5dbd33c649435e0d97924096a72c727d76915bffc0b7ea305f24d5e5f06389c4a0 SHA512 1227b2d32052c70b4b494659849000188fce46fc31a71f3352ba8457ac0b0b17e4bc7c8589874c8586d55aa808ee6c1fceb7df501aafa33599f8df7bfd2b791d |
22 |
DIST cfe-9.0.0.src.tar.xz 13533024 BLAKE2B 61fa57245d54930d09c2ff6024cdefb35592f7d1c644657b0aec9e7cc2dca29b45f08b8a2b716812025a438841e83ac3e30bb6f051498aa860533995ef7757b1 SHA512 83fcca5499102b375e620cdac97d75e6111ebed4ef10240859ddd8a88bc5b022703739d2eae0d8693c91892ad11fc6b531c0dbee62fbce68d3be595b94f0b1fe |
23 |
DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a SHA512 fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c |
24 |
+DIST llvmorg-9.0.1-rc3.tar.gz 113205740 BLAKE2B 3ca81e812833ecc2ac1bacfdeb86f54609ee125ba7390ce6af0113e949496149102360f35a9a0194dff93fb5cb6ade40a68382a03a7e55771a13198abb7ca9de SHA512 ea56a4ee57aacdd00a1d6551cdc768ecce3124a0eb6a9d09fe060bb147019a5119b2a9eaca576474be42e0296293daa923edd86dadb6759df0c2d7fc7a74f9f1 |
25 |
|
26 |
diff --git a/dev-python/clang-python/clang-python-9.0.1_rc3.ebuild b/dev-python/clang-python/clang-python-9.0.1_rc3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6796e58d1b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/clang-python/clang-python-9.0.1_rc3.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) |
38 |
+inherit llvm.org python-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for sys-devel/clang" |
41 |
+HOMEPAGE="https://llvm.org/" |
42 |
+LLVM_COMPONENTS=( clang/bindings/python ) |
43 |
+llvm.org_set_globals |
44 |
+ |
45 |
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+IUSE="test" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+# The module is opening libclang.so directly, and doing some blasphemy |
53 |
+# on top of it. |
54 |
+RDEPEND=" |
55 |
+ >=sys-devel/clang-${PV}:* |
56 |
+ !sys-devel/llvm:0[clang(-),python(-)] |
57 |
+ !sys-devel/clang:0[python(-)] |
58 |
+ ${PYTHON_DEPS}" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+python_test() { |
62 |
+ "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" |
63 |
+} |
64 |
+ |
65 |
+src_test() { |
66 |
+ python_foreach_impl python_test |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ python_foreach_impl python_domodule clang |
71 |
+} |