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: Thu, 30 Jan 2020 20:51:38
Message-Id: 1580417480.830d818392e09fe72baeb706d680568a39f31dab.mgorny@gentoo
1 commit: 830d818392e09fe72baeb706d680568a39f31dab
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 30 20:42:38 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 30 20:51:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=830d8183
7
8 dev-python/clang-python: Bump to 10.0.0_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-10.0.0_rc1.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 eb7283dee68..3c6ab7a8d83 100644
18 --- a/dev-python/clang-python/Manifest
19 +++ b/dev-python/clang-python/Manifest
20 @@ -1,3 +1,4 @@
21 DIST cfe-7.1.0.src.tar.xz 12487872 BLAKE2B ca6ec9e45b94823de1dabf9e68f0c97cdd40b5d2a5e5e15d4b2393f6d7fbdee72a541b957cc22ce4cb726d8ee7190228320941d5713aeb59695673b9e9070ceb SHA512 1cd0b80f32aa4de1118c0c676ba96b1fc78b7ff929b01b6589dfe9b4669e599ac8cfb8f5a0abcd3487594193a7dec06b29530ec3fc03042c20a160f0477a79fd
22 DIST cfe-8.0.1.src.tar.xz 12810056 BLAKE2B 88cee0b6daa477ca0473c76efc45beb634f6194ecd3f45aaec3791e26b203c5dbd33c649435e0d97924096a72c727d76915bffc0b7ea305f24d5e5f06389c4a0 SHA512 1227b2d32052c70b4b494659849000188fce46fc31a71f3352ba8457ac0b0b17e4bc7c8589874c8586d55aa808ee6c1fceb7df501aafa33599f8df7bfd2b791d
23 +DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695 SHA512 27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02
24 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
25
26 diff --git a/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild b/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild
27 new file mode 100644
28 index 00000000000..dede9129a35
29 --- /dev/null
30 +++ b/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,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=""
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 +}