public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/, dev-python/pygccxml/files/
@ 2024-03-25 14:51 Thomas Beierlein
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Beierlein @ 2024-03-25 14:51 UTC (permalink / raw
  To: gentoo-commits

commit:     57313b5a0994511f60ea73610ebcc535716a07ea
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 14:48:50 2024 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> 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 <tomjbe <AT> 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/, dev-python/pygccxml/files/
@ 2024-05-30  6:30 Thomas Beierlein
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Beierlein @ 2024-05-30  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     de0c2f96982265d871af158a11dd9220684d834a
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 06:29:27 2024 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu May 30 06:30:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0c2f96

dev-python/pygccxml: drop 2.4.0

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 dev-python/pygccxml/Manifest                       |  1 -
 .../pygccxml/files/pygccxml-2.4.0-pyproject.patch  | 10 -------
 dev-python/pygccxml/pygccxml-2.4.0.ebuild          | 33 ----------------------
 3 files changed, 44 deletions(-)

diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest
index 2b29408d2234..2e8b7633ee94 100644
--- a/dev-python/pygccxml/Manifest
+++ b/dev-python/pygccxml/Manifest
@@ -1,2 +1 @@
-DIST pygccxml-2.4.0.gh.tar.gz 3165189 BLAKE2B 855b0b6313be29e7719abe4cc6e654904657c11bfd7310d647227ce9d7760821eeb348dcd9892afbcc3d467db96daaf3010e92803fe28962db9a255cf81eae46 SHA512 48bf4887344c68d0a93a3908cc0a744f3d6a74dce92be88527e85cf7ba1a46f88560730dce0b858f31523cada836aad40461de935c5c2a041de0fa2ae5e38c30
 DIST pygccxml-2.5.0.gh.tar.gz 3163862 BLAKE2B 2a61474acab7e7a21b21bc7131a9b9aae2a318d3b761c9a3865055146331891e5fb2041a9136bd8816e60a4dc76a39a22d5f5632f22336341667eee537521a42 SHA512 499be7383ac9817c5620f7f0b2e6fdb9a6f5d934cc54a2ef9864877a2a7d896997ab5bc2e8b0c3c87df1ac7e4a384d3c8cbcc87f9496125502c97766df57b003

diff --git a/dev-python/pygccxml/files/pygccxml-2.4.0-pyproject.patch b/dev-python/pygccxml/files/pygccxml-2.4.0-pyproject.patch
deleted file mode 100644
index ba00ed45ad34..000000000000
--- a/dev-python/pygccxml/files/pygccxml-2.4.0-pyproject.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pyproject.toml.orig	2023-11-20 13:59:55.807461669 +0100
-+++ pyproject.toml	2023-11-20 14:00:37.335886130 +0100
-@@ -1,5 +1,6 @@
- [build-system]
--requires = ["setuptools", "wheel"]
-+requires = ["setuptools"]
-+build-backend = "setuptools.build_meta"
- 
- [project]
- name = "pygccxml"

diff --git a/dev-python/pygccxml/pygccxml-2.4.0.ebuild b/dev-python/pygccxml/pygccxml-2.4.0.ebuild
deleted file mode 100644
index 114320ffb31d..000000000000
--- a/dev-python/pygccxml/pygccxml-2.4.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="A specialized XML reader to navigate C++ declarations"
-HOMEPAGE="https://github.com/CastXML/pygccxml"
-SRC_URI="https://github.com/CastXML/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~x86"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	dev-libs/castxml
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests unittest
-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
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-30  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 14:51 [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/, dev-python/pygccxml/files/ Thomas Beierlein
  -- strict thread matches above, loose matches on Subject: below --
2024-05-30  6:30 Thomas Beierlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox