public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/
Date: Thu,  2 Feb 2023 09:21:04 +0000 (UTC)	[thread overview]
Message-ID: <1675329642.7e4f8d155d7f364489d7a22fbe70101a0494ea48.tupone@gentoo> (raw)

commit:     7e4f8d155d7f364489d7a22fbe70101a0494ea48
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 09:17:25 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 09:20:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4f8d15

dev-ada/gprbuild: update EAPI 7 -> 8

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild | 69 ++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild
new file mode 100644
index 000000000000..3e090bfd7e4d
--- /dev/null
+++ b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 gcc_12 )
+
+inherit ada multiprocessing
+
+XMLADA=xmlada-${PV}
+
+DESCRIPTION="Multi-Language Management"
+HOMEPAGE="http://libre.adacore.com/"
+SRC_URI="
+	https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+		-> ${P}.tar.gz
+	https://github.com/AdaCore/xmlada/archive/refs/tags/v${PV}.tar.gz
+		-> ${XMLADA}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${ADA_DEPS}
+	dev-ada/gprconfig_kb[${ADA_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch )
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s:@GNATBIND@:${GNATBIND}:g" \
+		src/gprlib.adb \
+		|| die
+	cd gpr/src || die
+	ln -s gpr-util-put_resource_usage__unix.adb \
+		gpr-util-put_resource_usage.adb
+}
+
+bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls"
+lib_progs="gprlib gprbind"
+
+src_compile() {
+	local xmlada_src="../${XMLADA}"
+	inc_flags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
+		-I${xmlada_src}/schema -I${xmlada_src}/unicode \
+		-I${xmlada_src}/input_sources"
+
+	gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
+	for bin in ${bin_progs}; do
+		gnatmake -j$(makeopts_jobs) ${inc_flags} $ADAFLAGS ${bin}-main \
+			-o ${bin} -largs ${LDFLAGS} gpr_imports.o || die
+	done
+	for lib in $lib_progs; do
+		gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \
+			-largs ${LDFLAGS} gpr_imports.o || die
+	done
+}
+
+src_install() {
+	dobin ${bin_progs}
+	exeinto /usr/libexec/gprbuild
+	doexe ${lib_progs}
+	insinto /usr/share/gpr
+	doins share/_default.gpr
+	einstalldocs
+}


             reply	other threads:[~2023-02-02  9:21 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02  9:21 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30  6:44 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/ Alfredo Tupone
2024-03-01 18:19 Alfredo Tupone
2023-12-31 18:55 Alfredo Tupone
2023-11-06  6:52 Alfredo Tupone
2023-11-06  6:50 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-03-20 20:40 Alfredo Tupone
2023-03-20 19:19 Alfredo Tupone
2023-01-13 22:11 Alfredo Tupone
2023-01-13 22:06 Alfredo Tupone
2022-12-02 20:59 Alfredo Tupone
2022-12-02  8:07 Alfredo Tupone
2022-11-26 19:45 Alfredo Tupone
2022-11-21  7:23 Alfredo Tupone
2022-11-20 12:32 Alfredo Tupone
2022-09-16 18:38 Alfredo Tupone
2021-12-19 22:09 Agostino Sarubbo
2021-09-19 13:10 Alfredo Tupone
2021-09-15 19:36 Alfredo Tupone
2021-07-20  6:33 Agostino Sarubbo
2021-06-02 11:38 Alfredo Tupone
2021-05-14 18:33 Alfredo Tupone
2020-08-01 20:34 Alfredo Tupone
2020-06-11 21:04 Alfredo Tupone
2019-12-04 21:27 Alfredo Tupone
2019-10-18  6:33 Alfredo Tupone
2019-09-18  9:26 Alfredo Tupone
2019-09-12 12:43 Alfredo Tupone
2019-09-05  6:11 Alfredo Tupone
2019-08-11 11:20 David Seifert
2019-07-27 18:30 Alfredo Tupone
2019-06-21  6:17 Alfredo Tupone
2019-06-03 17:21 Alfredo Tupone
2019-05-30  6:59 Alfredo Tupone
2018-10-15  6:51 Alfredo Tupone
2018-07-07 20:33 Alfredo Tupone
2018-06-30 13:43 Alfredo Tupone
2018-06-25  7:39 Alfredo Tupone
2018-04-21 12:29 Alfredo Tupone
2018-02-26 18:02 Alfredo Tupone
2018-01-20 20:57 Alfredo Tupone
2017-12-02 21:23 Alfredo Tupone
2017-11-26 18:17 Alfredo Tupone
2017-06-27  7:06 Alfredo Tupone
2017-06-26 20:06 Alfredo Tupone
2017-06-24 13:46 Alfredo Tupone
2017-03-30 19:11 Alfredo Tupone
2017-03-22 20:54 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=1675329642.7e4f8d155d7f364489d7a22fbe70101a0494ea48.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