From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 59D8715800F for ; Fri, 17 Feb 2023 08:24:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7440E0922; Fri, 17 Feb 2023 08:24:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 903C4E0922 for ; Fri, 17 Feb 2023 08:24:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8C4F341096 for ; Fri, 17 Feb 2023 08:24:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 781108A7 for ; Fri, 17 Feb 2023 08:24:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676622230.94c75c62f7d212c48db20c9b289653d8fe0dc041.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/castxml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/castxml/castxml-0.5.1-r1.ebuild X-VCS-Directories: dev-libs/castxml/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 94c75c62f7d212c48db20c9b289653d8fe0dc041 X-VCS-Branch: master Date: Fri, 17 Feb 2023 08:24:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a91976e-2ddb-4432-bd38-5dfd398480c0 X-Archives-Hash: 030cc6a6a24210cd8130ff63dca3f150 commit: 94c75c62f7d212c48db20c9b289653d8fe0dc041 Author: Sam James gentoo org> AuthorDate: Fri Feb 17 08:16:25 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 17 08:23:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c75c62 dev-libs/castxml: use llvm.eclass This is needed to make sure that the right LLVM implementation is built against & the needed env vars are setup. Also, castxml doesn't seem compatible with >= LLVM 16 yet, so this is needed to let us build w/ 15 if newer are installed. Signed-off-by: Sam James gentoo.org> dev-libs/castxml/castxml-0.5.1-r1.ebuild | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-libs/castxml/castxml-0.5.1-r1.ebuild b/dev-libs/castxml/castxml-0.5.1-r1.ebuild new file mode 100644 index 000000000000..e8addf5bbe5e --- /dev/null +++ b/dev-libs/castxml/castxml-0.5.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=15 +inherit cmake llvm + +DESCRIPTION="C-family abstract syntax tree XML output tool" +HOMEPAGE="https://github.com/CastXML/CastXML" +SRC_URI="https://github.com/CastXML/CastXML/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/CastXML-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" +RESTRICT="!test? ( test )" + +# See comment in llvm.eclass for why we don't depend on LLVM if we already +# depend on Clang. +RDEPEND=" +