diff options
Diffstat (limited to 'dev-ada/aunit')
-rw-r--r-- | dev-ada/aunit/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-2019-r1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index df3ca80c08ff..01ea1a662c03 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -2,5 +2,6 @@ AUX aunit-2016-gentoo.patch 374 BLAKE2B 00d34a835afdc4a1a80f8c4dad23ae4a30a89eb8 DIST aunit-2019-20190429-18B77-src.tar.gz 624683 BLAKE2B 455c3566ed46138116f258b175e883a59102dc334b41040cd6a332175fc4138d7ccdab1357c5b8886f14e551e3a6f4f4aa73eb755ade4a7a1663ac2d999973ca SHA512 9b1834ebacb9dbaa7a01f702455a44921a26a8d8d00f55ecc2fc8ddf2d884ef2ef2bba0f62551421f5a47d558d0fba88cbd57671459bba0c9f90c6310d714b19 DIST aunit-gpl-2018-src.tar.gz 639544 BLAKE2B a7d7469b0ec4951517b113a794dca4399a27d6d5d848194fc5bfa7728a5cd04644e4b5f1247eb3cfbab64c0294502ac70cdd6e7052cd60b788c7892eddb4294e SHA512 3409b490978e9160e3ec2d9214d50f846c4c38f7a728cd4ff306d6454d1e0944023342f17a580b0449cb528f42d3c608adec58b61318284237d02b7f77498513 EBUILD aunit-2018.ebuild 1165 BLAKE2B ec11e394f0c83a3570d4e917a614fd4c42629409f53160e149ebd73bf80e51500be6427927845108a82a4c0ec81490866afe0fd291427a15a22e200b76271e91 SHA512 399dbeec06d5dd59adeaf107cb997c9ccce3acfe61c2733dd5bc17685b9aa748666942c552766f3c39bf0e9bc86353fafd9da5cf5e4556ba205b06afcabfcee7 +EBUILD aunit-2019-r1.ebuild 1116 BLAKE2B 71683633403dd9796ead70eb4c4fe9a5894c23016fe58cc90c09533174c918f55c4fb0d5b3e3d47b64ec82343d152cd643d6b48bfc0b05a5f99300d53a7a02aa SHA512 824c78642d7cf6d40772585243a695c90d55e81613a9f70ea3beebb19afc07046d356ff162048c687193ae9c824761105b49172b953784a32e7f9e4e36658465 EBUILD aunit-2019.ebuild 1354 BLAKE2B e4a20da7dbec249b71ed193e46401f6d25d5b39502e1392a2c508f5c99cffa5542e480debef936f30ade98880e4c53bda16ba400d2f1b29837f6f871cf40db6b SHA512 4474a1c3eaf90391ce7f76c96ef291dc8c15fa47ea55842183c49f6911c896092f1d9775d84bc1b12212305b26226ef9fb16295f60ad6b339cf7d5427bcaa58c MISC metadata.xml 764 BLAKE2B fa5a767e7539d5fa8d2ce44240495fe471f8221897273a6c73748b0065a5239afaf99d4c28172a877b47611aa7d568a439cf47d172bee4a3f2878d4bd778ef9d SHA512 211f0200353e3573a700d1cbacb421e53e817617bbc5b74dbfb668194eae397b34193ad743acf70287b66d3fcb4c366214822b2e97a15bcfa80f9252b7f5faa9 diff --git a/dev-ada/aunit/aunit-2019-r1.ebuild b/dev-ada/aunit/aunit-2019-r1.ebuild new file mode 100644 index 000000000000..04342833bc16 --- /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 +} |