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 6DDE11382C5 for ; Thu, 21 May 2020 18:15:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3D81E093B; Thu, 21 May 2020 18:15:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 810A3E093B for ; Thu, 21 May 2020 18:15:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4202F34ECC1 for ; Thu, 21 May 2020 18:15:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F107D230 for ; Thu, 21 May 2020 18:15:04 +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: <1590084891.f50af502d3943ac41637ddee149ac72f6958a79d.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-2020.ebuild X-VCS-Directories: dev-ada/aunit/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: f50af502d3943ac41637ddee149ac72f6958a79d X-VCS-Branch: master Date: Thu, 21 May 2020 18:15:04 +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: 1ba0eaf3-6bb6-488d-9ef2-962c343871ea X-Archives-Hash: c38a0bcbf297bb97d539aafdc6adc216 commit: f50af502d3943ac41637ddee149ac72f6958a79d Author: Alfredo Tupone gentoo org> AuthorDate: Thu May 21 18:14:51 2020 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu May 21 18:14:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50af502 dev-ada/aunit: Version bump to 2020 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alfredo Tupone gentoo.org> dev-ada/aunit/Manifest | 1 + dev-ada/aunit/aunit-2020.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index d382deb1eec..4bb8670298d 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1 +1,2 @@ DIST aunit-2019-20190429-18B77-src.tar.gz 624683 BLAKE2B 455c3566ed46138116f258b175e883a59102dc334b41040cd6a332175fc4138d7ccdab1357c5b8886f14e551e3a6f4f4aa73eb755ade4a7a1663ac2d999973ca SHA512 9b1834ebacb9dbaa7a01f702455a44921a26a8d8d00f55ecc2fc8ddf2d884ef2ef2bba0f62551421f5a47d558d0fba88cbd57671459bba0c9f90c6310d714b19 +DIST aunit-2020-20200429-19B6C-src.tar.gz 615443 BLAKE2B b7d31dc8e198b3ceb94d043d701dceadbc1e20596a71a4f25a140bdd3f9ad54f7d7e4d4bfb587fbc31b9a6a046407c2d0dbd77dd2d045878e9aa2da3954d2964 SHA512 2d61db882cd7eaf66be101ffabafafdab1834578df162f0ef1947b517265033285cef3d84a76a3b0f1cb05d0adf12a1910b652bfbaeb56fc022157f44b34de86 diff --git a/dev-ada/aunit/aunit-2020.ebuild b/dev-ada/aunit/aunit-2020.ebuild new file mode 100644 index 00000000000..c2cfc06360d --- /dev/null +++ b/dev-ada/aunit/aunit-2020.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 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}-20200429-19B6C-src + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="http://libre.adacore.com/tools/aunit/" +SRC_URI="https://community.download.adacore.com/v1/6c8702d4a3c4a39f5da077716e44bef980377ba8?filename=$MYP}.tar.gz + -> ${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 +}