From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/clang/
Date: Mon, 16 Dec 2024 05:57:09 +0000 (UTC) [thread overview]
Message-ID: <1734328547.8a3c4461f3fc25eebc636756453b7f1dff873aab.mgorny@gentoo> (raw)
commit: 8a3c4461f3fc25eebc636756453b7f1dff873aab
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 20:12:11 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 05:55:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3c4461
dev-python/clang: Add 20.0.0_pre20241215 snapshot
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/clang/Manifest | 1 +
dev-python/clang/clang-20.0.0_pre20241215.ebuild | 53 ++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest
index 808f097b416f..cf145cec2b7a 100644
--- a/dev-python/clang/Manifest
+++ b/dev-python/clang/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2
DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22
DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54
DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
+DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 BLAKE2B 0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31 SHA512 45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a
diff --git a/dev-python/clang/clang-20.0.0_pre20241215.ebuild b/dev-python/clang/clang-20.0.0_pre20241215.ebuild
new file mode 100644
index 000000000000..871a0ee635a8
--- /dev/null
+++ b/dev-python/clang/clang-20.0.0_pre20241215.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for llvm-core/clang"
+HOMEPAGE="https://llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+ >=llvm-core/clang-${PV}:*
+ !llvm-core/llvm:0[clang(-),python(-)]
+ !llvm-core/clang:0[python(-)]
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ llvm-core/clang:${LLVM_MAJOR}
+ )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+ # tests rely on results from a specific clang version, so override
+ # the search path
+ local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+ local -x CLANG_NO_DEFAULT_CONFIG=1
+ "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
+}
+
+src_test() {
+ python_foreach_impl python_test
+}
+
+src_install() {
+ python_foreach_impl python_domodule clang
+}
next reply other threads:[~2024-12-16 5:57 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 5:57 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-17 21:37 [gentoo-commits] repo/gentoo:master commit in: dev-python/clang/ Michał Górny
2024-12-21 10:28 Michał Górny
2024-12-27 21:25 Michał Górny
2024-12-28 19:35 Michał Górny
2025-01-04 15:28 Michał Górny
2025-01-11 18:12 Michał Górny
2025-01-15 4:24 Michał Górny
2025-01-18 8:21 Michał Górny
2025-01-18 15:09 Michał Górny
2025-01-22 19:15 Michał Górny
2025-01-25 13:33 Michał Górny
2025-01-31 21:51 Michał Górny
2025-02-01 8:05 Michał Górny
2025-02-01 13:15 Michał Górny
2025-02-02 18:25 Michał Górny
2025-02-07 20:08 Arthur Zamarin
2025-02-08 11:51 Michał Górny
2025-02-11 11:29 Michał Górny
2025-02-13 7:53 Michał Górny
2025-02-15 7:19 Michał Górny
2025-02-22 15:19 Michał Górny
2025-02-25 14:03 Michał Górny
2025-02-26 18:55 Michał Górny
2025-03-01 8:34 Michał Górny
2025-03-01 12:58 Michał Górny
2025-03-05 6:25 Michał Górny
2025-03-05 10:13 Michał Górny
2025-03-11 14:56 Michał Górny
2025-03-16 17:41 Michał Górny
2025-03-17 20:13 Michał Górny
2025-03-20 16:50 Michał Górny
2025-03-22 10:43 Michał Górny
2025-03-29 10:27 Michał Górny
2025-04-03 11:29 Michał Górny
2025-04-05 12:24 Michał Górny
2025-04-12 4:57 Michał Górny
2025-04-12 8:59 Michał Górny
2025-04-12 10:21 Michał Górny
2025-04-15 10:15 Michał Górny
2025-04-16 18:34 Michał Górny
2025-04-19 6:29 Michał Górny
2025-04-20 11:50 Michał Górny
2025-04-26 15:59 Michał Górny
2025-05-03 10:07 Michał Górny
2025-05-03 19:42 Michał Górny
2025-05-10 13:03 Michał Górny
2025-05-16 9:31 Michał Górny
2025-05-17 5:31 Michał Górny
2025-05-17 12:59 Michał Górny
2025-05-24 11:56 Michał Górny
2025-05-27 12:08 Michał Górny
2025-05-28 10:50 Michał Górny
2025-05-28 11:54 Michał Górny
2025-05-29 20:22 Michał Górny
2025-06-07 18:05 Michał Górny
2025-06-14 7:15 Michał Górny
2025-06-14 11:02 Arthur Zamarin
2025-06-28 14:55 Michał Górny
2025-06-28 15:03 Michał Górny
2025-07-09 18:49 Michał Górny
2025-07-13 20:03 Michał Górny
2025-07-19 6:50 Michał Górny
2025-07-20 14:15 Michał Górny
2025-07-22 9:20 Michał Górny
2025-07-26 19:53 Michał Górny
2025-07-29 19:04 Michał Górny
2025-08-02 10:29 Michał Górny
2025-08-09 9:47 Michał Górny
2025-08-12 17:09 Michał Górny
2025-08-16 13:51 Michał Górny
2025-08-21 8:18 Michał Górny
2025-08-21 8:22 Michał Górny
2025-08-24 18:51 Arthur Zamarin
2025-08-24 19:02 Arthur Zamarin
2025-08-26 19:38 Michał Górny
2025-08-27 12:28 Michał Górny
2025-08-31 13:28 Michał Górny
2025-09-07 19:47 Michał Górny
2025-09-10 11:47 Michał Górny
2025-09-20 12:38 Michał Górny
2025-09-21 2:44 Michał Górny
2025-09-24 2:27 Michał Górny
2025-09-24 16:18 Michał Górny
2025-10-01 6:35 Michał Górny
2025-10-03 11:43 Michał Górny
2025-10-04 9:16 Michał Górny
2025-10-08 17:28 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1734328547.8a3c4461f3fc25eebc636756453b7f1dff873aab.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox