diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-25 17:56:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-25 17:56:39 +0000 |
| commit | 5696b060dbdb11e5b2236c4f3310c311484c1611 (patch) | |
| tree | 710a389e8459b07d17948b967795df7677785dff /dev-python/pygccxml | |
| parent | 2cbaca3ae8ce66a4919d39bdb6447e4c7a64719a (diff) | |
| download | baldeagleos-repo-5696b060dbdb11e5b2236c4f3310c311484c1611.tar.gz baldeagleos-repo-5696b060dbdb11e5b2236c4f3310c311484c1611.tar.xz baldeagleos-repo-5696b060dbdb11e5b2236c4f3310c311484c1611.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pygccxml')
| -rw-r--r-- | dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch | 21 | ||||
| -rw-r--r-- | dev-python/pygccxml/pygccxml-2.4.0.ebuild | 3 |
2 files changed, 23 insertions, 1 deletions
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 b87b428f685b..c0a714c76d5e 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 |
