From 4187bba080530c5ca1c7dae9c233e88f3fc8f535 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jul 2024 08:06:16 +0100 Subject: gentoo auto-resync : 06:07:2024 - 08:06:15 --- dev-libs/castxml/Manifest | 2 ++ dev-libs/castxml/castxml-0.6.7.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-libs/castxml/castxml-0.6.7.ebuild (limited to 'dev-libs/castxml') diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest index 7f5fdad30005..2bdc8287ead3 100644 --- a/dev-libs/castxml/Manifest +++ b/dev-libs/castxml/Manifest @@ -1,3 +1,5 @@ DIST CastXML-0.6.6.tar.gz 122349 BLAKE2B ab2d928386e3128cd05fcc60c02799508e671883cffd33f952eb81167672e4c76057be21d3ba6b3f327051b015894914c83ad66b5ce87e43fa1b251dea5c5371 SHA512 6ba62b91193eb3458cbd0a0838a626528f66972661cc33c6ef87b760f8baa985afe998a467d07fd7d28c1363f5ba74300f5d49c182830d217a4e051a97a4a913 +DIST CastXML-0.6.7.tar.gz 122608 BLAKE2B 04d10c34131fac97382fe33b1cfd8e65d62ce1339cb8eb253d867500f777346f352dfb9ff061c8e18be961ea9b7aeb86aef1d9c35d8f7e78687124e560bef435 SHA512 31acd05e15e44f64a92c47bbef13115d26e17488a111e5b2bb32bf6191c4555e8f7e380489ab9d6e52060285e25088f41253ba46f4eb95b6ec11e5c63412442f EBUILD castxml-0.6.6.ebuild 1186 BLAKE2B 0c8a6330f8a6ecf3d328fc1b88693d3ef425b0ef8d23434864eac0e36958e85d0a71226bda33283956ba9ca0261d99f58ab71a68911818aaacb2e3b628439420 SHA512 07c2ea36fe3523b1a361619f30459b2ec9b0908f3255b34f209048388c5f2236577c3367f6cf8d775785325d0c4bed68a74d5b053899f337ff4d3008ef6a0b88 +EBUILD castxml-0.6.7.ebuild 1187 BLAKE2B 6dac0c95865b2beeaf172091fde3ab9d57f5c9a0c714d2e0e8c697552101a7c38ed973ade0948da740857c14073b2ea290864a8c432743af4ac6b1fd5ec4a203 SHA512 67a101468e82bd12fdec2f35bd004aa1393e40f3f23c4a6061dd07e0cde92b46d409cb09d2f66f718c9f87e7e321c24bac9cfaacabdec031becd651f871b7b90 MISC metadata.xml 593 BLAKE2B dd9a10d726b1d46a88ca87601f17372ad6a10e8cd3ad6a7463c0aa7753dc7103694ac5d3120fc009cfcd3ddcfd4290d1ddd61763018addf1639520eaca493396 SHA512 5b01620d07eb9d11894a599515e70ea8d61862c4bdeae85aa2965801c26cde2b32461ba6c52b3019ae80cb05b975806bca302b6d01f7f51bd94a500dc13c77a2 diff --git a/dev-libs/castxml/castxml-0.6.7.ebuild b/dev-libs/castxml/castxml-0.6.7.ebuild new file mode 100644 index 000000000000..894410252a94 --- /dev/null +++ b/dev-libs/castxml/castxml-0.6.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {17..19} ) + +inherit cmake llvm-r1 + +MY_P=CastXML-${PV} +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 + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" +RESTRICT="!test? ( test )" + +DEPEND=" + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}= + ') +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + man? ( dev-python/sphinx ) +" + +src_configure() { + local mycmakeargs=( + -DCastXML_INSTALL_DOC_DIR="share/doc/${PF}" + -DCastXML_INSTALL_MAN_DIR="share/man" + -DSPHINX_MAN="$(usex man)" + -DSPHINX_HTML=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} + +src_test() { + local CMAKE_SKIP_TESTS=( + # Regex doesn't match the full build path + cmd.input-missing + cmd.rsp-missing + + # Gets confused by extra #defines we set for hardening etc (bug #891813) + cmd.cc-gnu-src-cxx-E + cmd.cc-gnu-src-cxx-cmd + cmd.cc-gnu-c-src-c-E + cmd.cc-gnu-c-src-c-cmd + ) + + cmake_src_test +} -- cgit v1.2.3