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: Fri, 26 Aug 2022 08:43:09
Message-Id: 1661503367.ce34883ac5fd0d8567169785efbe99eb5a2c2a19.mgorny@gentoo
1 commit: ce34883ac5fd0d8567169785efbe99eb5a2c2a19
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 26 07:21:35 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 26 08:42:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce34883a
7
8 dev-python/clang-python: Bump to 15.0.0_rc3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/clang-python/Manifest | 2 +
13 .../clang-python/clang-python-15.0.0_rc3.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
17 index 0baa75d11b41..7372c4b389f8 100644
18 --- a/dev-python/clang-python/Manifest
19 +++ b/dev-python/clang-python/Manifest
20 @@ -2,4 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f
21 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
22 DIST llvm-project-15.0.0rc2.src.tar.xz 112110968 BLAKE2B 98c3769f17f1958fbec771409eef781f5ca845363656c70fe5cd20bca1b8471e7a8773a7d4e395700c297a5f3f208fe1303cf18e2a73b45388b782fb7484106b SHA512 eee1bee1f83cc468fb4bb6839acbd5c1618dc35f35e51cd078288b91bad95d52edaadd05c88f2d72d51c1c338ba08b3346c070a28693b1224639eb7a1ef4a4d9
23 DIST llvm-project-15.0.0rc2.src.tar.xz.sig 438 BLAKE2B 09f260b30724b41b27ef621929c086fd6c13bde51c4adb880897b549b2d336682f617faf3dd636ceb795e329b664972cf50745ab49f84e7540658d53074510da SHA512 9f695a309fbb15026dc133eb17d33abd26831eb036fad79dd8df37d4f4d9eeae1ca463acd037d2a1882bc2cff763e4bda507d1d827d845613bfd62d0f9fbd4ca
24 +DIST llvm-project-15.0.0rc3.src.tar.xz 112081940 BLAKE2B 659359f8366ad09051fa2256c1aae8cea2049ab6428ce6b15a6845f7ee01a27bc2be2ab612adf8364cb2d699f19d09a7ea01eda74b266f14cc844662bcc833e0 SHA512 e4ac310c19fd6b710d372b9a53dffaf6736d4b5c23190fa98536be40f7c4e45670957dcbfb337e9d1dd44398df43d1ae736063eff2b2fd3d6fc752fae286d3bb
25 +DIST llvm-project-15.0.0rc3.src.tar.xz.sig 438 BLAKE2B 455181d3845ff1766f463d0e02caf72df8106dad16b8d54234f7f2fa0fcb5636abb06b2d35b5fdb8a3ed5c92a41a47d413d1bb76013cb914ce79913479a786e2 SHA512 80a67cf48186d2fbde997707e5d3d7a2dc3097f07e32ff45277e5185eb358d6b292821d8eaf8570fcc45560340663d62adb0380c675909c4c9c713e52704c800
26 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
27
28 diff --git a/dev-python/clang-python/clang-python-15.0.0_rc3.ebuild b/dev-python/clang-python/clang-python-15.0.0_rc3.ebuild
29 new file mode 100644
30 index 000000000000..2891edc42793
31 --- /dev/null
32 +++ b/dev-python/clang-python/clang-python-15.0.0_rc3.ebuild
33 @@ -0,0 +1,47 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +PYTHON_COMPAT=( python3_{8..11} )
40 +inherit llvm.org python-r1
41 +
42 +DESCRIPTION="Python bindings for sys-devel/clang"
43 +HOMEPAGE="https://llvm.org/"
44 +
45 +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
46 +SLOT="0"
47 +KEYWORDS=""
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +# The module is opening libclang.so directly, and doing some blasphemy
53 +# on top of it.
54 +DEPEND="
55 + >=sys-devel/clang-${PV}:*
56 + !sys-devel/llvm:0[clang(-),python(-)]
57 + !sys-devel/clang:0[python(-)]
58 +"
59 +RDEPEND="
60 + ${DEPEND}
61 + ${PYTHON_DEPS}
62 +"
63 +BDEPEND="
64 + ${PYTHON_DEPS}
65 +"
66 +
67 +LLVM_COMPONENTS=( clang/bindings/python )
68 +llvm.org_set_globals
69 +
70 +python_test() {
71 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
72 +}
73 +
74 +src_test() {
75 + python_foreach_impl python_test
76 +}
77 +
78 +src_install() {
79 + python_foreach_impl python_domodule clang
80 +}