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: Mon, 29 Jun 2020 18:37:48
Message-Id: 1593455850.86ed5352eb13aa51bc27532b5df11e3db18cd20f.mgorny@gentoo
1 commit: 86ed5352eb13aa51bc27532b5df11e3db18cd20f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 29 15:20:51 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 29 18:37:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ed5352
7
8 dev-python/clang-python: Bump to 10.0.1-rc2
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-10.0.1_rc2.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 5339aef9511..59d2537eefa 100644
18 --- a/dev-python/clang-python/Manifest
19 +++ b/dev-python/clang-python/Manifest
20 @@ -1,4 +1,5 @@
21 DIST cfe-8.0.1.src.tar.xz 12810056 BLAKE2B 88cee0b6daa477ca0473c76efc45beb634f6194ecd3f45aaec3791e26b203c5dbd33c649435e0d97924096a72c727d76915bffc0b7ea305f24d5e5f06389c4a0 SHA512 1227b2d32052c70b4b494659849000188fce46fc31a71f3352ba8457ac0b0b17e4bc7c8589874c8586d55aa808ee6c1fceb7df501aafa33599f8df7bfd2b791d
22 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0
23 DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 64244ebcb6f2c171c9f606e5eb0adff2794f06c9312a0ca627fb79c107c0c898ac242cf4e92523c3265fa717322601d7e3f4d178515fac95d03ee92312082b06 SHA512 f877f66046969a4055b166ad50ef876a9c8ecaf03e2cdd7c8e1a3348eb5f5180f222fa457b1f090a6660282a0d9f7a1d39cf09a04abe0dde0a6e1e10ccf15597
24 +DIST llvmorg-10.0.1-rc2.tar.gz 120883192 BLAKE2B d48f4ccb33691cd4997576a6d20b298455687515164f7d8dfa11ec32e197b58132c6bd549c1214c3b36982ef85e1018d4101e7afecee8d2ab67ad15d68c681bf SHA512 8e363d379a73e38ef570fb03d8243a21f37a48ef579a0f08118af4dac48060c0dc24e2bd8175f04241fa424e49b6c85723d2d3552bbe30dd165fe5fb43493325
25 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
26
27 diff --git a/dev-python/clang-python/clang-python-10.0.1_rc2.ebuild b/dev-python/clang-python/clang-python-10.0.1_rc2.ebuild
28 new file mode 100644
29 index 00000000000..6d7cb294e65
30 --- /dev/null
31 +++ b/dev-python/clang-python/clang-python-10.0.1_rc2.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{6..9} )
39 +inherit llvm.org python-r1
40 +
41 +DESCRIPTION="Python bindings for sys-devel/clang"
42 +HOMEPAGE="https://llvm.org/"
43 +LLVM_COMPONENTS=( clang/bindings/python )
44 +llvm.org_set_globals
45 +
46 +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
47 +SLOT="0"
48 +KEYWORDS=""
49 +IUSE="test"
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +RESTRICT="!test? ( test )"
52 +
53 +# The module is opening libclang.so directly, and doing some blasphemy
54 +# on top of it.
55 +RDEPEND="
56 + >=sys-devel/clang-${PV}:*
57 + !sys-devel/llvm:0[clang(-),python(-)]
58 + !sys-devel/clang:0[python(-)]
59 + ${PYTHON_DEPS}"
60 +DEPEND="${RDEPEND}"
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 +}