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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 322F9158042 for ; Fri, 15 Nov 2024 16:09:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A550AE0B01; Fri, 15 Nov 2024 16:09:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 908C5E0B01 for ; Fri, 15 Nov 2024 16:09:29 +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 AA036343028 for ; Fri, 15 Nov 2024 16:09:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9A901F9A for ; Fri, 15 Nov 2024 16:09:25 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1731679125.c77c976e4ee1f2a493d4c44598ad2b7371fa9cd7.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/librepo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/librepo/librepo-1.19.0-r1.ebuild dev-libs/librepo/librepo-1.19.0.ebuild X-VCS-Directories: dev-libs/librepo/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: c77c976e4ee1f2a493d4c44598ad2b7371fa9cd7 X-VCS-Branch: master Date: Fri, 15 Nov 2024 16:09:25 +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: 04d8c282-a732-4dc2-9f2b-941a6f965fc1 X-Archives-Hash: 4ac1963bbcdf14ceba7424a3ed829d9e commit: c77c976e4ee1f2a493d4c44598ad2b7371fa9cd7 Author: Takuya Wakazono gmail com> AuthorDate: Fri Nov 15 13:58:45 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Fri Nov 15 13:58:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c77c976e dev-libs/librepo: fix USE=doc Actually install documentation when the doc flag is enabled. Closes: https://bugs.gentoo.org/943534 Signed-off-by: Takuya Wakazono gmail.com> .../{librepo-1.19.0.ebuild => librepo-1.19.0-r1.ebuild} | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev-libs/librepo/librepo-1.19.0.ebuild b/dev-libs/librepo/librepo-1.19.0-r1.ebuild similarity index 84% rename from dev-libs/librepo/librepo-1.19.0.ebuild rename to dev-libs/librepo/librepo-1.19.0-r1.ebuild index 14c583417..092364911 100644 --- a/dev-libs/librepo/librepo-1.19.0.ebuild +++ b/dev-libs/librepo/librepo-1.19.0-r1.ebuild @@ -41,6 +41,9 @@ src_prepare() { # respect temp directory during tests, bug #924463 sed -i "s|/tmp/|${T}/|" tests/testsys.h || die + + # disable python docs + sed -i "/python/d" doc/CMakeLists.txt || die } src_configure() { @@ -55,3 +58,13 @@ src_configure() { ) cmake_src_configure } + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc-c +} + +src_install() { + use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/c/html/. ) + cmake_src_install +}