diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2018-07-02 09:05:15 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2018-07-02 09:05:15 +0200 |
commit | 9564faf6a428481c13f78d99d52c205036d7358b (patch) | |
tree | 52f4bdffbaa3b5f7917aa026787c59c5d27965e5 /dev-ada | |
parent | dev-python/bokeh: nbformat needed for tests, bug #659802 (diff) | |
download | gentoo-9564faf6a428481c13f78d99d52c205036d7358b.tar.gz gentoo-9564faf6a428481c13f78d99d52c205036d7358b.tar.bz2 gentoo-9564faf6a428481c13f78d99d52c205036d7358b.zip |
dev-ada/aws: Version bump to 2018
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/aws/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/aws/aws-2018.ebuild | 51 | ||||
-rw-r--r-- | dev-ada/aws/metadata.xml | 1 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ada/aws/Manifest b/dev-ada/aws/Manifest index f4d60634e1e5..c35bc25d4bad 100644 --- a/dev-ada/aws/Manifest +++ b/dev-ada/aws/Manifest @@ -1 +1,2 @@ DIST aws-gpl-2017-src.tar.gz 12298806 BLAKE2B 9c45d77dd44da11efe99c6e3128fc5920b39eaaf620e266b2dab394866c2d6a3cd1abe4eb01d9024960ef9046662c0df690f72c687fbe0a64b1021ed9c383828 SHA512 a7ddd332cbf3e699fdb7f734fba7dfabed2a92745bbc7fbd4ae5ea5da6a5e98c5434d7a9a3d7071d57b8294cc5c0c2a3802ded607e9402a1cf5e5bed8f5a8c35 +DIST aws-gpl-2018-src.tar.gz 4193276 BLAKE2B 31fa99fc3324f2514799a33cbd282f68a26d133da14ee2a70d3f5091c3670e82a7b77f9f941e593e914a755dd54d5a1e352d201a9dc097991b7bd50aa9f54b3b SHA512 62b85f70dd722148bbf3ad85bfd6cde2d0ab1d8029f673eb7ee42b0890c3dbf0f023c321e96eca99ccd2f0b235347ab577cfb558e7d81993d166683ec815dbe4 diff --git a/dev-ada/aws/aws-2018.ebuild b/dev-ada/aws/aws-2018.ebuild new file mode 100644 index 000000000000..f4d94c7b9188 --- /dev/null +++ b/dev-ada/aws/aws-2018.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multiprocessing + +MY_P=${PN}-gpl-${PV}-src + +DESCRIPTION="A complete Web development framework" +HOMEPAGE="http://libre.adacore.com/tools/aws/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27abd + -> ${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnat_2016 gnat_2017 +gnat_2018" + +RDEPEND="dev-ada/xmlada[gnat_2016=,gnat_2017=,gnat_2018(-)=] + dev-ada/xmlada[shared,static-libs]" +DEPEND="${RDEPEND} + dev-ada/asis[gnat_2016=,gnat_2017=,gnat_2018(-)=] + dev-ada/gprbuild[gnat_2016=,gnat_2017=,gnat_2018(-)=]" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch ) + +src_configure() { + emake -j1 setup prefix=/usr ENABLE_SHARED=true +} + +src_compile() { + if use gnat_2018; then + GCC_PV=7.3.1 + elif use gnat_2017; then + GCC_PV=6.3.0 + else + GCC_PV=4.9.4 + fi + emake GCC=${CHOST}-gcc-${GCC_PV} \ + PROCESSORS=$(makeopts_jobs) \ + DEBUG=true \ + GPRBUILD="/usr/bin/gprbuild -v" +} + +src_install() { + emake DESTDIR="${D}" DEBUG=true install + einstalldocs +} diff --git a/dev-ada/aws/metadata.xml b/dev-ada/aws/metadata.xml index 7662c41c5d1c..d2da63463732 100644 --- a/dev-ada/aws/metadata.xml +++ b/dev-ada/aws/metadata.xml @@ -8,6 +8,7 @@ <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> + <flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag> </use> <longdescription lang="en"> AWS is a complete framework to develop Web based applications. The main part |