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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66AEB138334 for ; Tue, 17 Sep 2019 06:58:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A080DE0931; Tue, 17 Sep 2019 06:58:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86A7AE0931 for ; Tue, 17 Sep 2019 06:58:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84DC534B2A5 for ; Tue, 17 Sep 2019 06:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0AC29763 for ; Tue, 17 Sep 2019 06:58:49 +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: <1568703510.188c2bfec9ac1dc9184c0c3c84e85aee09c1a9d8.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/aunit/aunit-2019-r1.ebuild X-VCS-Directories: dev-ada/aunit/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 188c2bfec9ac1dc9184c0c3c84e85aee09c1a9d8 X-VCS-Branch: master Date: Tue, 17 Sep 2019 06:58:49 +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: 73b22180-6aa1-4d64-90a9-a12c2467c591 X-Archives-Hash: e877f970a087101e8e1da6cf9f250e78 commit: 188c2bfec9ac1dc9184c0c3c84e85aee09c1a9d8 Author: Tupone Alfredo gentoo org> AuthorDate: Tue Sep 17 06:58:30 2019 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue Sep 17 06:58:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188c2bfe dev-ada/aunit: simplify using ada eclass Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone gentoo.org> dev-ada/aunit/aunit-2019-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-ada/aunit/aunit-2019-r1.ebuild b/dev-ada/aunit/aunit-2019-r1.ebuild new file mode 100644 index 00000000000..04342833bc1 --- /dev/null +++ b/dev-ada/aunit/aunit-2019-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_201{6,7,8,9} ) +inherit ada multiprocessing + +MYP=${P}-20190429-18B77-src + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="http://libre.adacore.com/tools/aunit/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf859431e87aa2cdf16b18 + -> ${MYP}.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}" + +S="${WORKDIR}"/${MYP} + +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/doc/${PN}/* "${D}"/usr/share/doc/${PF}/ || die + rmdir "${D}"/usr/share/doc/${PN} || die + 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 +}