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: Fri,  1 Mar 2024 18:19:13 +0000 (UTC)	[thread overview]
Message-ID: <1709317132.d50e82bdba1aed72e9d23e0e0a78e6c700e22da9.tupone@gentoo> (raw)

commit:     d50e82bdba1aed72e9d23e0e0a78e6c700e22da9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 18:18:07 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 18:18:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50e82bd

dev-ada/gprbuild: add doc

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

 dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild               |  3 +--
 ...{gprbuild-24.0.0.ebuild => gprbuild-24.0.0-r1.ebuild} | 16 +++++++++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild
index 1f7821924fab..e340685fb095 100644
--- a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild
+++ b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,6 @@ SRC_URI="
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
 
 DEPEND="${ADA_DEPS}
 	dev-ada/gprconfig_kb[${ADA_USEDEP}]"

diff --git a/dev-ada/gprbuild/gprbuild-24.0.0.ebuild b/dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild
similarity index 83%
rename from dev-ada/gprbuild/gprbuild-24.0.0.ebuild
rename to dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild
index 4ca1962e2cdc..d3d2cd3da286 100644
--- a/dev-ada/gprbuild/gprbuild-24.0.0.ebuild
+++ b/dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,10 +19,12 @@ SRC_URI="
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="doc"
 
 DEPEND="${ADA_DEPS}
 	dev-ada/gprconfig_kb[${ADA_USEDEP}]"
 RDEPEND="${DEPEND}"
+BDEPEND="doc? ( dev-python/sphinx )"
 
 REQUIRED_USE="${ADA_REQUIRED_USE}"
 PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch )
@@ -56,6 +58,11 @@ src_compile() {
 		gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \
 			-largs ${LDFLAGS} gpr_imports.o || die
 	done
+	if use doc; then
+		emake -C doc txt
+		emake -C doc info
+		emake -C doc html
+	fi
 }
 
 src_install() {
@@ -64,5 +71,12 @@ src_install() {
 	doexe ${lib_progs}
 	insinto /usr/share/gpr
 	doins share/_default.gpr
+	local HTML_DOCS=
+	local DOCS=README.md
+	if use doc; then
+		DOCS+=" examples doc/txt/gprbuild_ug.txt"
+		HTML_DOCS+="doc/html/*"
+		doinfo doc/info/gprbuild_ug.info
+	fi
 	einstalldocs
 }


             reply	other threads:[~2024-03-01 18:19 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01 18:19 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
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-02-02  9:21 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=1709317132.d50e82bdba1aed72e9d23e0e0a78e6c700e22da9.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