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 27C46139694 for ; Wed, 26 Apr 2017 18:33:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F040AE0C44; Wed, 26 Apr 2017 18:33:10 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C39B8E0C44 for ; Wed, 26 Apr 2017 18:33:10 +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 173DC33BE61 for ; Wed, 26 Apr 2017 18:33:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E0F82494 for ; Wed, 26 Apr 2017 18:33:07 +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: <1493231571.e2658d94c1c8d71269824863f5d523f52597f448.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/files/, dev-ada/aunit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/aunit/Manifest dev-ada/aunit/aunit-2016.ebuild dev-ada/aunit/files/aunit-2016-gentoo.patch dev-ada/aunit/metadata.xml X-VCS-Directories: dev-ada/aunit/files/ dev-ada/aunit/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: e2658d94c1c8d71269824863f5d523f52597f448 X-VCS-Branch: master Date: Wed, 26 Apr 2017 18:33:07 +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-Archives-Salt: 45b63ef3-427d-4602-9bbb-5228b6dcf90e X-Archives-Hash: 1cf9071a2ceb3f616ccf9308ff5fc4b6 commit: e2658d94c1c8d71269824863f5d523f52597f448 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Apr 26 18:32:51 2017 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Apr 26 18:32:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2658d94 dev-ada/aunit: Add dev-ada/aunit-2016 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ada/aunit/Manifest | 1 + dev-ada/aunit/aunit-2016.ebuild | 39 +++++++++++++++++++++++++++++ dev-ada/aunit/files/aunit-2016-gentoo.patch | 11 ++++++++ dev-ada/aunit/metadata.xml | 11 ++++++++ 4 files changed, 62 insertions(+) diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest new file mode 100644 index 00000000000..1214b1a5bfe --- /dev/null +++ b/dev-ada/aunit/Manifest @@ -0,0 +1 @@ +DIST aunit-gpl-2016-src.tar.gz 393489 SHA256 ba1b86b853daef98190a7dfc9858aedcd4cc85219b310356c02348f32dcc77cf SHA512 94721f04ff721bbb572ede3fe7b8b61f9682ecaec8076eec3a0a27a41d9bab86248921671b7e63656f473f8d4ddb3a44ecdfb19f479073cf2ae378d62dc68190 WHIRLPOOL fae3579197384972872966b16022e0248d23d207a55af63c6e9daf94ba152a403fa2164a7d9b81fb3ba1214583f2b5506acd87708ffb16f7ef4c66d1f14a3e13 diff --git a/dev-ada/aunit/aunit-2016.ebuild b/dev-ada/aunit/aunit-2016.ebuild new file mode 100644 index 00000000000..9bd4322f043 --- /dev/null +++ b/dev-ada/aunit/aunit-2016.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multiprocessing + +MYP=${PN}-gpl-${PV}-src + +DESCRIPTION="Ada unit testing framework" +HOMEPAGE="http://libre.adacore.com/tools/aunit/" +SRC_URI="http://mirrors.cdn.adacore.com/art/573990c6c7a447658d00e1cb -> ${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-lang/gnat-gpl" +DEPEND="${RDEPEND} + dev-ada/gprbuild" + +S="${WORKDIR}"/${MYP} + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + emake GPRBUILD="gprbuild -j$(makeopts_jobs)" +} + +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 + dodoc features-* known-problems-* +} diff --git a/dev-ada/aunit/files/aunit-2016-gentoo.patch b/dev-ada/aunit/files/aunit-2016-gentoo.patch new file mode 100644 index 00000000000..eeace666b45 --- /dev/null +++ b/dev-ada/aunit/files/aunit-2016-gentoo.patch @@ -0,0 +1,11 @@ +--- aunit-3.8.0w-src/Makefile.old 2017-01-04 18:13:29.634899987 +0100 ++++ aunit-3.8.0w-src/Makefile 2017-01-04 18:15:59.013219503 +0100 +@@ -29,7 +29,7 @@ + .PHONY: all clean targets install_clean install + + all: +- $(GPRBUILD) -p $(GPROPTS) lib/gnat/aunit.gpr ++ $(GPRBUILD) -p $(GPROPTS) lib/gnat/aunit.gpr -cargs $(ADAFLAGS) + + clean-lib: + $(RM) -fr lib/aunit lib/aunit-obj diff --git a/dev-ada/aunit/metadata.xml b/dev-ada/aunit/metadata.xml new file mode 100644 index 00000000000..355af3380ec --- /dev/null +++ b/dev-ada/aunit/metadata.xml @@ -0,0 +1,11 @@ + + + + + tupone@gentoo.org + Tupone Alfredo + + + AUnit is a set of Ada packages based on the xUnit family of unit test frameworks. It’s intended as a developer’s tool to facilitate confident writing and evolution of Ada software. It is purposely lightweight, as one of its main goals is to make it easy to develop and run unit tests, rather than to generate artifacts for process management. The framework supports easy composition of sets of unit tests to provide flexibility in determining what tests to run for a given purpose. + +