diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-12-19 21:30:17 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-12-19 21:30:35 +0100 |
commit | df039e918d51c4c703f9eb374feb861ff5c7554f (patch) | |
tree | 70d289d5374dc56ceb2c4f3da8b08bba2fb3d6af /dev-ada | |
parent | media-libs/libpgf: drop 7.21.7 (diff) | |
download | gentoo-df039e918d51c4c703f9eb374feb861ff5c7554f.tar.gz gentoo-df039e918d51c4c703f9eb374feb861ff5c7554f.tar.bz2 gentoo-df039e918d51c4c703f9eb374feb861ff5c7554f.zip |
dev-ada/aunit: add 23.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/aunit/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-23.0.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index 25de19c338d8..a6905de58441 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1,2 +1,3 @@ DIST aunit-2021-20210518-19DC5-src.tar.gz 625153 BLAKE2B 385478bcc889d5f764a3498d98915928671a546c7345d8ca3e4f092d85a92c7b196d2a3f7a81f2199237f472f691d30b05b2f3308f063c509d8e9f3e834d620e SHA512 c365ed5ffe4ff60413969e92989396c6d2849a1f16ceb4b8b3fd666153f6cb480f4d74c42362fb751c522a29a555996e3bc5fdd0e80ba2e817940599f8be4798 DIST aunit-22.0.0.tar.gz 131442 BLAKE2B 6ddc2f37ea06cfd5c7ad4d145b8889e171169108b90252feacf600a00acbd4740e638e7d478e4ac474953f9f3dcb118a4c5486a1cca6380b054661cf4b5f7e18 SHA512 5380fcb18ede7422507aff566f97521760fcc8a713d0e90195128189807784fec828c2e2c538aa0ac897cbdeb15fa2120e67b9e998875aac0ade2636dbea4e96 +DIST aunit-23.0.0.tar.gz 131699 BLAKE2B 04ff77214ab6f4f5d59ea0609fffbc6fcfb4695d2fbbed45efa14e2b745c33868e1c134e5d00a7c3d8f11b1a8d15c6212110c78a53df4230b5862fb9b912a434 SHA512 450caa79e4808188107cd065665ca9cab599934e3934d18406b08d3ccebe26c1e95cd0c712ea3403d6082c7c5e8fd9ecf09ae3b63d231b80ad575048b3d61943 diff --git a/dev-ada/aunit/aunit-23.0.0.ebuild b/dev-ada/aunit/aunit-23.0.0.ebuild new file mode 100644 index 000000000000..af510a7829ab --- /dev/null +++ b/dev-ada/aunit/aunit-23.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_2021 gcc_12_2_0 ) +inherit ada multiprocessing + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="http://libre.adacore.com/tools/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="" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" + +REQUIRED_USE="${ADA_REQUIRED_USE}" + +src_compile() { + emake GPROPTS_EXTRA="-j$(makeopts_jobs) -v -cargs ${ADAFLAGS}" +} + +src_install() { + emake INSTALL="${D}"/usr install + einstalldocs + mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die + rmdir "${D}"/usr/share/examples || die + rm -r "${D}"/usr/share/gpr/manifests || die +} + +src_test() { + emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test +} |