ChangeLog

# ChangeLog for dev-ada/aunit
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/ChangeLog,v 1.12 2008/01/24 21:33:32 george Exp $

24 Jan 2008; George Shapovalov aunit-1.05.ebuild,
aunit-2.01.ebuild:
updated DEPEND to use virtual/ada, fixed quotations

28 May 2007; George Shapovalov -aunit-1.03.ebuild:
removed old version

*aunit-2.01 (28 May 2007)

28 May 2007; George Shapovalov +aunit-2.01.ebuild:
new (2007) version

*aunit-1.05 (28 May 2007)

28 May 2007; George Shapovalov +aunit-1.05.ebuild:
updated the 2006' version

05 Feb 2007; George Shapovalov -aunit-1.01.ebuild:
removed old and masked version

25 Jan 2007; Marius Mauch aunit-1.01.ebuild:
Replacing einfo with elog

*aunit-1.03 (14 Nov 2006)

14 Nov 2006; George Shapovalov +aunit-1.03.ebuild:
new version, uses gnat.eclass

13 May 2006; George Shapovalov ChangeLog:
removed inherit gnat until adapted for new eclass

12 May 2006; George Shapovalov aunit-1.01.ebuild:
added standard src_compile, otherwise it breaks with new gnat.eclass,
removed ~ppc from keywords

*aunit-1.01 (28 Oct 2003)

28 Oct 2003; David Holm aunit-1.01.ebuild, metadata.xml:
Aunit provides an xUnit testing framework for Ada.

Manifest

DIST aunit-1.05.tar.bz2 109000 RMD160 e6dbd925fd9e7a735dd7ceb5a3e51552ed1077ef SHA1 006d6af1b744cb8ffc39d83c9d8ee058b7486bca SHA256 76a7240203ab708743bc40fe29209e04b3edbe429a4dfb35be580fc80d490b09
DIST aunit-2.01.tar.bz2 186622 RMD160 7e1ef1df08c9fd02cdc712a6008d8a91f2c70950 SHA1 d18d3bd0d539318abcb3a53c357446cdefb43050 SHA256 fca41d07a7e5a7f82e8f53fb8d579c250ae5436adf9f677dfa2d3f657453b8f9
EBUILD aunit-1.05.ebuild 1087 RMD160 2927b430e3c20b6e54caa4df83e73d46250e438d SHA1 d59282c4d39c2d345d82fd8532b812c6dfdd77e4 SHA256 e499660fa5a3422a3717aa297090628368c789ed28ab808d6e596c0cf15b9815
EBUILD aunit-2.01.ebuild 1219 RMD160 cd0222a9e16801906a2f5f91d86950674eb3aff9 SHA1 190a573e5a3b8e85af4c04306ce4175f9e1520e3 SHA256 a25ca5ce111dde393f5875d3c95d99e65305fe8706416135cecdf26ebb674a07
MISC ChangeLog 1481 RMD160 b2a56463cc119e35f5963b979dd5571ffc26e3ef SHA1 c74ca5148c5773286d8370b2fb80d721b02c1b4f SHA256 d626f5d17d917c6e2732d3a0d2ccb9fc021b420a2d5ed72b1ef24c9f3a5e665f
MISC metadata.xml 673 RMD160 c6b360a7011781a1cd57ca1c128a34b0048296b9 SHA1 5b4f6980ed79adb6d78342fff937137352ef5856 SHA256 70b734a234bde280602d4f24fd8bd2d541e90e40a8583b06a81bb22d645f23bd

aunit-1.05.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/aunit-1.05.ebuild,v 1.2 2008/01/24 21:33:32 george Exp $

inherit gnat

IUSE=""

DESCRIPTION="Aunit, Ada unit testing framework"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="https://libre.adacore.com/aunit/"

LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
SLOT="0"

DEPEND="virtual/ada"

lib_compile() {
gnatmake -Paunit
gnatmake -Paunit_dyn
}

lib_install() {
mv aunit/lib/* ${DL}
chmod 0444 ${DL}/*.ali
}

src_install () {
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins aunit/*/*.ad?

dodir ${AdalibDataDir}/${PN}
insinto ${AdalibDataDir}/${PN}
doins -r support/aunit.xml template/

#set up environment
echo "LDPATH=%DL%" > ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}

gnat_src_install

dodoc README docs/aunit.txt
dohtml docs/aunit.{html,css}
doinfo docs/aunit.info
cp -dPr test/ docs/aunit.pdf "${D}/usr/share/doc/${PF}"
}

aunit-2.01.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/aunit/aunit-2.01.ebuild,v 1.2 2008/01/24 21:33:32 george Exp $

inherit gnat

IUSE=""

DESCRIPTION="Aunit, Ada unit testing framework"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="https://libre.adacore.com/aunit/"

LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
SLOT="0"

DEPEND="virtual/ada"

lib_compile() {
cd aunit
SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build
SUPPORT_EXCEPTION=yes SUPPORT_CALENDAR=yes gnatmake -Paunit_build_dyn
}

lib_install() {
mv aunit/lib/* ${DL}
chmod 0444 ${DL}/*.ali
}

src_install () {
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins aunit/*/*.ad? aunit/framework/*/*.ad?

dodir ${AdalibDataDir}/${PN}
insinto ${AdalibDataDir}/${PN}
doins -r support/aunit.xml template/

#set up environment
echo "LDPATH=%DL%" > ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}

gnat_src_install

dodoc README docs/aunit.txt
dohtml docs/aunit.{html,css}
doinfo docs/aunit.info
cp -dPr test/ docs/aunit.pdf "${D}/usr/share/doc/${PF}"
}

metadata.xml




ada
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.