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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2D5215812D for ; Fri, 03 Jan 2025 11:05:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCE88E085D; Fri, 03 Jan 2025 11:05:10 +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 B041EE085D for ; Fri, 03 Jan 2025 11:05:09 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38EB9335D2B for ; Fri, 03 Jan 2025 11:05:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8EE8697F for ; Fri, 03 Jan 2025 11:05:05 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1735902290.2888c802648b5acd30e2c4c36f087238956e20da.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/aunit/Manifest dev-ada/aunit/aunit-25.0.0.ebuild X-VCS-Directories: dev-ada/aunit/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 2888c802648b5acd30e2c4c36f087238956e20da X-VCS-Branch: master Date: Fri, 03 Jan 2025 11:05:05 +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: 9d28b95e-c63e-47de-bf83-ac903f9471ab X-Archives-Hash: 9921a470dd21fbb17e5adf493c1d4d9d commit: 2888c802648b5acd30e2c4c36f087238956e20da Author: Alfredo Tupone gentoo org> AuthorDate: Fri Jan 3 11:02:22 2025 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Jan 3 11:04:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2888c802 dev-ada/aunit: add 25.0.0 Signed-off-by: Alfredo Tupone gentoo.org> dev-ada/aunit/Manifest | 1 + dev-ada/aunit/aunit-25.0.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index 97dfb1cebd19..3f2ef57d00ae 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1 +1,2 @@ DIST aunit-24.0.0.tar.gz 131699 BLAKE2B e43e7a94b278597475767d93f28a95a586abeaf45d141ea7035df9cb45d1be67c189a5be3d0364943b4649270f8f96d7cfd20fcba7a28917b14266c9e9424815 SHA512 25b973d1eb35e9e15ed24abe9c4ad7165d684c0e72abe619dcb9bec04cef8b28c78c1994e96e4bc29fd3b06567e15360f47ac87f49e1fa9888f55675defc226f +DIST aunit-25.0.0.tar.gz 137452 BLAKE2B 91672bbdd86cc502456b681e9418f04dfc7dfc380ed9f9f69af36afb5e3b5ce22852a4fa92049ee5d9fade1439a6a4508e3d6f63b1005ae6f0e1d5cbfaa70118 SHA512 080d61c1c3b0707c291dce476573e05a247c198c2bea4ae311677dcae826e7bf34571700711b28ac46bd021e93c252492bafcb4892b24b45c7396d6b7e7b5f2d diff --git a/dev-ada/aunit/aunit-25.0.0.ebuild b/dev-ada/aunit/aunit-25.0.0.ebuild new file mode 100644 index 000000000000..9d721fb12fb2 --- /dev/null +++ b/dev-ada/aunit/aunit-25.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +inherit ada multiprocessing + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="https://github.com/AdaCore/aunit" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" +BDEPEND="doc? ( + dev-tex/latexmk + dev-texlive/texlive-latexextra + dev-python/sphinx + dev-python/sphinx-rtd-theme +)" + +REQUIRED_USE="${ADA_REQUIRED_USE}" + +src_prepare() { + default + sed -i \ + -e "s|@PF@|${PF}|g" \ + lib/gnat/aunit.gpr \ + || die +} + +src_compile() { + emake GPROPTS_EXTRA="-j$(makeopts_jobs) -v -cargs ${ADAFLAGS}" + use doc && emake -C doc all +} + +src_install() { + emake INSTALL="${D}"/usr install + DOCS="README" + if use doc; then + DOCS+=" doc/build/aunit_cb/pdf/aunit_cb.pdf" + DOCS+=" doc/build/aunit_cb/txt/aunit_cb.txt" + HTML_DOCS="doc/build/aunit_cb/html" + fi + einstalldocs + if use doc; then + insinto /usr/share/info + doins doc/build/aunit_cb/info/aunit_cb.info + docompress -x /usr/share/info + fi + mv "${D}"/usr/share/examples "${D}"/usr/share/doc/${PF}/ + rm -r "${D}"/usr/share/gpr/manifests || die +} + +src_test() { + emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test +}