diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-11-18 08:16:40 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-11-18 08:16:40 +0100 |
commit | bdffa54771aabf15cee4ebde6a23ab96188043cf (patch) | |
tree | 099cf7960df2fa8d62556bd0e5f9d055b3b8cb36 /dev-ada | |
parent | dev-ada/gtkada: 22.0.0 bump (diff) | |
download | gentoo-bdffa54771aabf15cee4ebde6a23ab96188043cf.tar.gz gentoo-bdffa54771aabf15cee4ebde6a23ab96188043cf.tar.bz2 gentoo-bdffa54771aabf15cee4ebde6a23ab96188043cf.zip |
dev-ada/aunit: 22.0.0 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3
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-22.0.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index 974b07eb92fb..fb38b2bbb18f 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1,2 +1,3 @@ DIST aunit-2020-20200429-19B6C-src.tar.gz 615443 BLAKE2B b7d31dc8e198b3ceb94d043d701dceadbc1e20596a71a4f25a140bdd3f9ad54f7d7e4d4bfb587fbc31b9a6a046407c2d0dbd77dd2d045878e9aa2da3954d2964 SHA512 2d61db882cd7eaf66be101ffabafafdab1834578df162f0ef1947b517265033285cef3d84a76a3b0f1cb05d0adf12a1910b652bfbaeb56fc022157f44b34de86 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 diff --git a/dev-ada/aunit/aunit-22.0.0.ebuild b/dev-ada/aunit/aunit-22.0.0.ebuild new file mode 100644 index 000000000000..b89252b1d94e --- /dev/null +++ b/dev-ada/aunit/aunit-22.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_2019 gnat_202{0..1} ) +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}" + +PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch ) + +src_compile() { + emake GPRBUILD="gprbuild -j$(makeopts_jobs) -v" +} + +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 +} |