From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F26A158041 for ; Fri, 1 Mar 2024 18:19:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 430BBE29D6; Fri, 1 Mar 2024 18:19:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2151AE29D6 for ; Fri, 1 Mar 2024 18:19:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29CC83430F2 for ; Fri, 1 Mar 2024 18:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95FBE1065 for ; Fri, 1 Mar 2024 18:19:13 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1709317132.d50e82bdba1aed72e9d23e0e0a78e6c700e22da9.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild dev-ada/gprbuild/gprbuild-24.0.0.ebuild X-VCS-Directories: dev-ada/gprbuild/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: d50e82bdba1aed72e9d23e0e0a78e6c700e22da9 X-VCS-Branch: master Date: Fri, 1 Mar 2024 18:19:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b2e44e04-32cb-4b1b-8cac-27207ad4fedf X-Archives-Hash: 6c900abfc1705e3248b17c37af8584d0 commit: d50e82bdba1aed72e9d23e0e0a78e6c700e22da9 Author: Alfredo Tupone gentoo org> AuthorDate: Fri Mar 1 18:18:07 2024 +0000 Commit: Alfredo Tupone gentoo 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 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 }