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 7C439158041 for ; Mon, 25 Mar 2024 14:51:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9659E2A0F; Mon, 25 Mar 2024 14:51:08 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69286E2A0F for ; Mon, 25 Mar 2024 14:51:08 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 622DC33F9FD for ; Mon, 25 Mar 2024 14:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C743315DB for ; Mon, 25 Mar 2024 14:51:05 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1711378223.57313b5a0994511f60ea73610ebcc535716a07ea.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/, dev-python/pygccxml/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch dev-python/pygccxml/pygccxml-2.4.0.ebuild X-VCS-Directories: dev-python/pygccxml/ dev-python/pygccxml/files/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 57313b5a0994511f60ea73610ebcc535716a07ea X-VCS-Branch: master Date: Mon, 25 Mar 2024 14:51:05 +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: b4942099-0074-4317-980e-1510204d3049 X-Archives-Hash: 5f1e19c4155a1e1e0f32ac356a3030fb commit: 57313b5a0994511f60ea73610ebcc535716a07ea Author: Thomas Beierlein gentoo org> AuthorDate: Mon Mar 25 14:48:50 2024 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Mon Mar 25 14:50:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57313b5a dev-python/pygccxml: Fix build of documentation - drop no longer used import statement - fix module file path Closes: https://bugs.gentoo.org/920767 Signed-off-by: Thomas Beierlein gentoo.org> dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch | 21 +++++++++++++++++++++ dev-python/pygccxml/pygccxml-2.4.0.ebuild | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch b/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch new file mode 100644 index 000000000000..ecec89c14ed9 --- /dev/null +++ b/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch @@ -0,0 +1,21 @@ +diff --git a/docs/conf.py b/docs/conf.py +index 071ebb1..2ccec1f 100644 +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -23,7 +23,6 @@ import importlib.metadata + # documentation root, use os.path.abspath to make it absolute, like shown here. + sys.path.insert(0, os.path.abspath('.') + "/../src") + +-from release_utils import utils # nopep8 + + # -- General configuration ------------------------------------------------ + +@@ -284,7 +283,7 @@ def run_apidoc(_): + os.path.join(sys.prefix, 'bin', 'sphinx-apidoc')) + subprocess.check_call( + [cmd_path, '-o', output_path, +- os.path.abspath(cur_dir + "/../" + module), ++ os.path.abspath(cur_dir + "/../src/" + module), + '--separate', '--force', '--module-first', '--doc-project=API']) + + diff --git a/dev-python/pygccxml/pygccxml-2.4.0.ebuild b/dev-python/pygccxml/pygccxml-2.4.0.ebuild index f93c64023594..114320ffb31d 100644 --- a/dev-python/pygccxml/pygccxml-2.4.0.ebuild +++ b/dev-python/pygccxml/pygccxml-2.4.0.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 @@ -26,6 +26,7 @@ distutils_enable_sphinx docs dev-python/sphinx-rtd-theme python_prepare_all() { eapply -p0 "${FILESDIR}/${PN}-2.4.0-pyproject.patch" + eapply "${FILESDIR}/${PN}-2.4.0-doc.patch" eapply_user distutils-r1_python_prepare_all