Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/
Date: Thu, 21 May 2020 18:15:08
Message-Id: 1590084891.f50af502d3943ac41637ddee149ac72f6958a79d.tupone@gentoo
1 commit: f50af502d3943ac41637ddee149ac72f6958a79d
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 18:14:51 2020 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 18:14:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50af502
7
8 dev-ada/aunit: Version bump to 2020
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ada/aunit/Manifest | 1 +
14 dev-ada/aunit/aunit-2020.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 48 insertions(+)
16
17 diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest
18 index d382deb1eec..4bb8670298d 100644
19 --- a/dev-ada/aunit/Manifest
20 +++ b/dev-ada/aunit/Manifest
21 @@ -1 +1,2 @@
22 DIST aunit-2019-20190429-18B77-src.tar.gz 624683 BLAKE2B 455c3566ed46138116f258b175e883a59102dc334b41040cd6a332175fc4138d7ccdab1357c5b8886f14e551e3a6f4f4aa73eb755ade4a7a1663ac2d999973ca SHA512 9b1834ebacb9dbaa7a01f702455a44921a26a8d8d00f55ecc2fc8ddf2d884ef2ef2bba0f62551421f5a47d558d0fba88cbd57671459bba0c9f90c6310d714b19
23 +DIST aunit-2020-20200429-19B6C-src.tar.gz 615443 BLAKE2B b7d31dc8e198b3ceb94d043d701dceadbc1e20596a71a4f25a140bdd3f9ad54f7d7e4d4bfb587fbc31b9a6a046407c2d0dbd77dd2d045878e9aa2da3954d2964 SHA512 2d61db882cd7eaf66be101ffabafafdab1834578df162f0ef1947b517265033285cef3d84a76a3b0f1cb05d0adf12a1910b652bfbaeb56fc022157f44b34de86
24
25 diff --git a/dev-ada/aunit/aunit-2020.ebuild b/dev-ada/aunit/aunit-2020.ebuild
26 new file mode 100644
27 index 00000000000..c2cfc06360d
28 --- /dev/null
29 +++ b/dev-ada/aunit/aunit-2020.ebuild
30 @@ -0,0 +1,47 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +ADA_COMPAT=( gnat_201{6,7,8,9} )
37 +inherit ada multiprocessing
38 +
39 +MYP=${P}-20200429-19B6C-src
40 +
41 +DESCRIPTION="Ada unit testing framework"
42 +HOMEPAGE="http://libre.adacore.com/tools/aunit/"
43 +SRC_URI="https://community.download.adacore.com/v1/6c8702d4a3c4a39f5da077716e44bef980377ba8?filename=$MYP}.tar.gz
44 + -> ${MYP}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE=""
50 +
51 +RDEPEND="${ADA_DEPS}"
52 +DEPEND="${RDEPEND}
53 + dev-ada/gprbuild[${ADA_USEDEP}]"
54 +
55 +REQUIRED_USE="${ADA_REQUIRED_USE}"
56 +
57 +S="${WORKDIR}"/${MYP}
58 +
59 +PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
60 +
61 +src_compile() {
62 + emake GPRBUILD="gprbuild -j$(makeopts_jobs) -v"
63 +}
64 +
65 +src_install() {
66 + emake INSTALL="${D}"/usr install
67 + einstalldocs
68 + mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/ || die
69 + rmdir "${D}"/usr/share/doc/${PN} || die
70 + mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die
71 + rmdir "${D}"/usr/share/examples || die
72 + rm -r "${D}"/usr/share/gpr/manifests || die
73 +}
74 +
75 +src_test() {
76 + emake PROJECT_PATH_ARG="ADA_PROJECT_PATH=$(pwd)/lib/gnat" -C test
77 +}