summaryrefslogtreecommitdiff
path: root/dev-ada/aunit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ada/aunit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ada/aunit')
-rw-r--r--dev-ada/aunit/Manifest7
-rw-r--r--dev-ada/aunit/aunit-2016.ebuild40
-rw-r--r--dev-ada/aunit/aunit-2017.ebuild40
-rw-r--r--dev-ada/aunit/files/aunit-2016-gentoo.patch11
-rw-r--r--dev-ada/aunit/files/aunit-2017-gentoo.patch11
-rw-r--r--dev-ada/aunit/metadata.xml15
6 files changed, 124 insertions, 0 deletions
diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest
new file mode 100644
index 000000000000..f789e394ad04
--- /dev/null
+++ b/dev-ada/aunit/Manifest
@@ -0,0 +1,7 @@
+AUX aunit-2016-gentoo.patch 374 SHA256 22d44c42e9a6df441483a1cde87624b25971e2ce257d15fd068af7d9d6466381 SHA512 0ea27e0d8783788c83a3916071ea0dd5361f21a4fc67727b735986dfc624c9f1bd6aa471229c389f5453001577ca1eec0ecdd0865952a0aa5fe1453787dac33b WHIRLPOOL 43808668390fd8b87b2713f7ee84b2f5b1c8a8fda489a7eb77c9c3557af16dfe2629284a0aaa3de72711bfee31d0a91d5a4623452a1036995eab241ab70941cd
+AUX aunit-2017-gentoo.patch 374 SHA256 22d44c42e9a6df441483a1cde87624b25971e2ce257d15fd068af7d9d6466381 SHA512 0ea27e0d8783788c83a3916071ea0dd5361f21a4fc67727b735986dfc624c9f1bd6aa471229c389f5453001577ca1eec0ecdd0865952a0aa5fe1453787dac33b WHIRLPOOL 43808668390fd8b87b2713f7ee84b2f5b1c8a8fda489a7eb77c9c3557af16dfe2629284a0aaa3de72711bfee31d0a91d5a4623452a1036995eab241ab70941cd
+DIST aunit-gpl-2016-src.tar.gz 393489 SHA256 ba1b86b853daef98190a7dfc9858aedcd4cc85219b310356c02348f32dcc77cf SHA512 94721f04ff721bbb572ede3fe7b8b61f9682ecaec8076eec3a0a27a41d9bab86248921671b7e63656f473f8d4ddb3a44ecdfb19f479073cf2ae378d62dc68190 WHIRLPOOL fae3579197384972872966b16022e0248d23d207a55af63c6e9daf94ba152a403fa2164a7d9b81fb3ba1214583f2b5506acd87708ffb16f7ef4c66d1f14a3e13
+DIST aunit-gpl-2017-src.tar.gz 638311 SHA256 c9a574d5a4a16648b1a9294b0d18deb571841b3bbd3ea3cd3ede4a6896faa0f7 SHA512 8aad7acc472af127d7c140fb80bd8f1e26866daba2817a436851704bb9048c8347284c5cf2dd05c0c65590cf05ff01d035c3612a698d19607347e961174b3ab4 WHIRLPOOL 4639eb970ca297121b28272d589d3d436c11496d33539a2e336f307888ca63ee96f4d386de870ee3dabeaee1d40e5535b7a78c834c0ab74af4d235f5aae1079c
+EBUILD aunit-2016.ebuild 1021 SHA256 a46e66697bb0350ea452320c5c9b425a18a7563cce7a75410ec47e6cb0e71fe2 SHA512 c930ef72a7242c8bb13db0028337983bc0f17bc48637566003dd04e3459520b1ab164eb0bcea661313dd0ad54a646d54d94179387a48dcecb3c8373ea7c057d9 WHIRLPOOL f488f18bd1c002517e47180b1f74f13b6511dd5ab2a33331044bad03624bdc56a350893f7c4aababa64713c6fbe69dd7e4d2e57755b63146120f72e0f811f735
+EBUILD aunit-2017.ebuild 987 SHA256 167dcf110e6b38d7d30df36b5935b9b86695c17167e7d233d8dbbe855b746d3a SHA512 a81c6a9c4e4a245afd74e9d34f75a8f0889ef660539dc9fe37be33c0b530c96b6d5dc7d1bb864cb88c88974dd4fa720274de918c9d1bd394a3d04d203f7ea0bd WHIRLPOOL b6d5ea2d56106ff16dfd6ef68935997f46f190bfc80d5b644e73154e5b69b91f9ce12a7412ce28f91eefff16b084b7bf9d297110604bdd7b112887cd2cc04fec
+MISC metadata.xml 936 SHA256 a0c5328d39150b15c06d031f3a6263f250a8c2a5b785b7a417da31f62dfcafe4 SHA512 663611206da2bf967532848d961a0f2ea04780cfb0c97d5f62c6693b4af83417b7fa32fa76d3520c1184f8d3239f0f88ed503e778444e901393c3c798b6848cd WHIRLPOOL 357adfaee2f77b03d81039783d71798a4048ab8f8297854912ab91b9faf6dd70f2a5985740018f540ff72579244dd5c062c8a431ff1b09b85184c421f9ed8048
diff --git a/dev-ada/aunit/aunit-2016.ebuild b/dev-ada/aunit/aunit-2016.ebuild
new file mode 100644
index 000000000000..931da83606ac
--- /dev/null
+++ b/dev-ada/aunit/aunit-2016.ebuild
@@ -0,0 +1,40 @@
+# 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="gnat_2016 gnat_2017"
+
+RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
+ gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
+
+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/aunit-2017.ebuild b/dev-ada/aunit/aunit-2017.ebuild
new file mode 100644
index 000000000000..5ddb2617c4e7
--- /dev/null
+++ b/dev-ada/aunit/aunit-2017.ebuild
@@ -0,0 +1,40 @@
+# 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/591c45e2c7a447af2deed000
+ -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gnat_2016 gnat_2017"
+
+RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
+ gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
+
+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
+}
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 000000000000..eeace666b45e
--- /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/files/aunit-2017-gentoo.patch b/dev-ada/aunit/files/aunit-2017-gentoo.patch
new file mode 100644
index 000000000000..eeace666b45e
--- /dev/null
+++ b/dev-ada/aunit/files/aunit-2017-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 000000000000..8e0def15bbcb
--- /dev/null
+++ b/dev-ada/aunit/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <use>
+ <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
+ <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
+ </use>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+</pkgmetadata>