commit:     bde6e5a74325da403dfc1043816704922d60b36d
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 15 10:21:38 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jun 15 10:21:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde6e5a7

dev-ada/asis: Version bump to dev-ada/asis-2018

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ada/asis/Manifest         |  1 +
 dev-ada/asis/asis-2018.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++++
 dev-ada/asis/metadata.xml     |  2 +-
 3 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/dev-ada/asis/Manifest b/dev-ada/asis/Manifest
index 834c8c9c3b1..0a2d0c7643d 100644
--- a/dev-ada/asis/Manifest
+++ b/dev-ada/asis/Manifest
@@ -1,2 +1,3 @@
 DIST asis-gpl-2016-src.tar.gz 5240554 BLAKE2B 
b95be816f5f52ac2b29814c09166774884dc166df6e08b26769c9502443f9797c42a1f9b6168336636add6515b748b3ef4b38c6a1dc6f49c1afb9ecec8e50c50
 SHA512 
439195d4cb5d58328dcc8c815cb6a32c5f8ed1d6581246dfa5dcca7c212ffad38dd63df25e490c4ac628eaf8c8e6d286f8ea036b7f39499704565b60c1bba8ee
 DIST asis-gpl-2017-src.tar.gz 5909758 BLAKE2B 
93b2f87c6945b27cff90cb3e227d6e6ae061dc6fc693ee8960cd9b4abf68cc398f6b6d7dba864399c8e007aee2a91789614b7d2bf146645a5d983f20c1ccbc64
 SHA512 
dee6b8e0851a4b3181d50256697865f7a6a613eef7b59e43cb1a0b066e794d927db9f60df33f7e1af343d41801a6b66feb1f7a963523b2442c85ca506d7e112f
+DIST asis-gpl-2018-src.tar.gz 5983604 BLAKE2B 
d91e3ff5cb95ec5b69121ed09e73f7bff234147b809353577315cd25cae0069ec5ebfc221a9798341b2a33bde316d74c4ce47c7ace580fe4d867e47032e207f2
 SHA512 
e00750adf17df8d534f0e561d129002d8b3c9efd6ba9c8d6768840d1399933271d748bafb7358a45d0a520620a335e669a6c2770ed89660bb319b609961a433a

diff --git a/dev-ada/asis/asis-2018.ebuild b/dev-ada/asis/asis-2018.ebuild
new file mode 100644
index 00000000000..c23aae9d5e1
--- /dev/null
+++ b/dev-ada/asis/asis-2018.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multiprocessing
+MYP=${PN}-gpl-${PV}-src
+
+DESCRIPTION="To develop tools for Ada software"
+HOMEPAGE="http://libre.adacore.com/";
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27ab8
+       -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 +gnat_2018"
+
+DEPEND="dev-ada/gnat_util[gnat_2018]
+       dev-ada/gnatcoll-core[gnat_2018,shared]
+       dev-ada/gprbuild[gnat_2018]
+       dev-ada/xmlada[gnat_2018]
+       dev-lang/gnat-gpl:7.3.0"
+RDEPEND="${RDEPEND}"
+REQUIRED_USE="!gnat_2016 !gnat_2017 gnat_2018"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
+
+src_compile() {
+       emake PROCESSORS=$(makeopts_jobs)
+       emake tools PROCESSORS=$(makeopts_jobs) \
+               GPRBUILD_FLAGS="-vl \
+               -XLIBRARY_TYPE=relocatable \
+               -XXMLADA_BUILD=relocatable"
+}
+
+src_install() {
+       emake prefix="${D}"/usr install
+       emake prefix="${D}"/usr install-tools \
+               GPRINSTALL="gprinstall \
+               -XLIBRARY_TYPE=relocatable \
+               -XXMLADA_BUILD=relocatable"
+}

diff --git a/dev-ada/asis/metadata.xml b/dev-ada/asis/metadata.xml
index f4734803a24..416ad818fe8 100644
--- a/dev-ada/asis/metadata.xml
+++ b/dev-ada/asis/metadata.xml
@@ -8,7 +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">
                ASIS is a library that gives applications access to the complete

Reply via email to