From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnat_util/
Date: Sun, 10 Jun 2018 08:08:21 +0000 (UTC) [thread overview]
Message-ID: <1528618085.b32b7fcb488df5480478c4240a236980dde466bc.tupone@gentoo> (raw)
commit: b32b7fcb488df5480478c4240a236980dde466bc
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 10 08:08:05 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jun 10 08:08:05 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32b7fcb
dev-ada/gnat_util: Version bump to dev-ada/gnat_util-2018
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-ada/gnat_util/Manifest | 1 +
dev-ada/gnat_util/gnat_util-2018.ebuild | 56 +++++++++++++++++++++++++++++++++
dev-ada/gnat_util/metadata.xml | 1 +
3 files changed, 58 insertions(+)
diff --git a/dev-ada/gnat_util/Manifest b/dev-ada/gnat_util/Manifest
index 08fcac7e67f..cfcd6cc8d38 100644
--- a/dev-ada/gnat_util/Manifest
+++ b/dev-ada/gnat_util/Manifest
@@ -1,2 +1,3 @@
DIST gnat_util-gpl-2016-src.tar.gz 1126296 BLAKE2B e1e7c2628b6a012ca3ad5809d4ea785a9fa68ed5e7f67a80475ece80161f53d611eb9a383591167d30f2a1125de48299123cc0c0b4807b6bcb4bca197bda78ed SHA512 1edb67e762637e9e951356c7be402d7b2b903a05abdc93eadaf5ba98bc7bfa936b4fa2a2ae7eb986200dec755020e53d312d42769512fba2e290099f6030bbd0
DIST gnat_util-gpl-2017-src.tar.gz 868496 BLAKE2B d105a59f0533428a4d57b3c81c0818f4d1bd457b113d775fe97f35f7352e03b602ac0e6d7b970e408fb3dd6d30f0d4e60feffccf42dbdc0723a76855b0164ee0 SHA512 d5e48c6fafc870f36094d2dfd5f45f2d5b5729c97596afff7475b7838c1c7c029ef57395ca1011ee74d8a4195597ea1f502732e654a02561a7abc72c8a7d3a6a
+DIST gnat_util-gpl-2018-src.tar.gz 883945 BLAKE2B e30ee379f4ea9525337b0794d4fc91c80458b3b1dd3d10cbc455c6f566d4d073b6753c171ffbbabd85995717de249cdee7c094b7ba00d752a13e18d0f54da192 SHA512 490b0fa944f4b9fee2a4e78c1181658eb8f95262314455c41beb3ebe9db5dd540090d1f9840357572969721966fa11085dc680f3498dc539631ef3f4dbf56426
diff --git a/dev-ada/gnat_util/gnat_util-2018.ebuild b/dev-ada/gnat_util/gnat_util-2018.ebuild
new file mode 100644
index 00000000000..3f9094eca06
--- /dev/null
+++ b/dev-ada/gnat_util/gnat_util-2018.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multiprocessing
+
+MYP=${PN}-gpl-${PV}
+
+DESCRIPTION="Provides access to GNAT compiler internals for AdaCore utilities"
+HOMEPAGE="http://libre.adacore.com"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a6b
+ -> ${MYP}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs static-pic"
+
+RDEPEND="dev-lang/gnat-gpl:7.3.0"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[gnat_2018]"
+REQUIRED_USE="!gnat_2016 !gnat_2017 gnat_2018"
+
+S="${WORKDIR}"/${MYP}-src
+
+PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
+
+src_compile() {
+ GCC_PV=7.3.0
+ GCC=${CHOST}-gcc-${GCC_PV}
+ GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
+ emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \
+ BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
+ if use static-libs; then
+ emake CC="${GCC}" BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static
+ fi
+ for kind in shared static-pic; do
+ if use ${kind}; then
+ emake CC="${GCC}" BUILDER="gprbuild -v -j$(makeopts_jobs)" \
+ build-${kind}
+ fi
+ done
+}
+
+src_install() {
+ if use static-libs; then
+ emake prefix="${D}"/usr install-static
+ fi
+ for kind in shared static-pic; do
+ if use ${kind}; then
+ emake prefix="${D}"/usr install-${kind}
+ fi
+ done
+ einstalldocs
+}
diff --git a/dev-ada/gnat_util/metadata.xml b/dev-ada/gnat_util/metadata.xml
index 031651ccbbd..fb8adc913f1 100644
--- a/dev-ada/gnat_util/metadata.xml
+++ b/dev-ada/gnat_util/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>
<flag name="shared">Build gnat_util shared library</flag>
<flag name="static-pic">Build gnat_util static library with pic code</flag>
</use>
next reply other threads:[~2018-06-10 8:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-10 8:08 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-19 10:11 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnat_util/ Alfredo Tupone
2021-09-15 17:28 Alfredo Tupone
2021-06-05 13:26 Alfredo Tupone
2019-12-04 21:21 Alfredo Tupone
2019-10-18 17:03 Alfredo Tupone
2019-09-18 7:11 Alfredo Tupone
2019-09-13 18:58 Alfredo Tupone
2019-08-29 6:31 Alfredo Tupone
2019-06-21 6:17 Alfredo Tupone
2019-06-06 6:57 Alfredo Tupone
2019-06-05 18:56 Alfredo Tupone
2019-06-05 17:10 Alfredo Tupone
2019-05-31 9:03 Alfredo Tupone
2018-11-27 19:08 Alfredo Tupone
2018-06-25 7:39 Alfredo Tupone
2018-04-21 19:55 Alfredo Tupone
2018-02-27 11:03 Alfredo Tupone
2018-02-21 7:29 Alfredo Tupone
2018-02-12 19:11 Alfredo Tupone
2017-11-29 18:09 Alfredo Tupone
2017-07-02 14:42 Alfredo Tupone
2017-07-01 17:04 Alfredo Tupone
2017-05-31 7:21 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1528618085.b32b7fcb488df5480478c4240a236980dde466bc.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox