commit: 9e18021fa43ab5712d272cb68770c70dcc262e2a
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 16:46:47 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 16:47:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e18021f
dev-python/pygccxml: add 3.0.0
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
dev-python/pygccxml/Manifest | 1 +
dev-python/pygccxml/pygccxml-3.0.0.ebuild | 46 +++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest
index acd73b7d3f29..73cd7d4a628e 100644
--- a/dev-python/pygccxml/Manifest
+++ b/dev-python/pygccxml/Manifest
@@ -1 +1,2 @@
DIST pygccxml-2.6.1.gh.tar.gz 3154561 BLAKE2B
95fb9df63f4175eab707211cb14d178437928ddad76eeb416d8cf4a48b29c211d80ba55533deb0a12e6bad4435df9bf82a1321b37cdc8db39d217f2995d1215e
SHA512
b0ccd12b50d93287189fa86be6e11f44e28869045e6d7f6f84f34220cea642fc267eee150fe544bb54839b7f467f64af4a6025c84b94df7793645f2d444ae60d
+DIST pygccxml-3.0.0.gh.tar.gz 3155557 BLAKE2B
a485f5b25d724c0c67a4a6108b298ecf5da9bd3fd365f513ce424239d3e94d76a88cdc1b7839fd69b5dc897a3e7e4f86721a8411ca9c6faa37da9edae509d387
SHA512
061150cabbe3eb8853dcd48be91d741f7af405f6682bd6a6000e83bf5c5da8ed572467131f98234158f86deac6c8881736fa47b6a89149edbe10c00729e863b5
diff --git a/dev-python/pygccxml/pygccxml-3.0.0.ebuild
b/dev-python/pygccxml/pygccxml-3.0.0.ebuild
new file mode 100644
index 000000000000..a9410da95bbd
--- /dev/null
+++ b/dev-python/pygccxml/pygccxml-3.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="A specialized XML reader to navigate C++ declarations"
+HOMEPAGE="
+ https://github.com/CastXML/pygccxml/
+ https://pypi.org/project/pygccxml/
+"
+SRC_URI="
+ https://github.com/CastXML/pygccxml/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/castxml
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+EPYTEST_DESELECT=(
+ tests/test_smart_pointer.py
+)
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${PN}-2.4.0-doc.patch"
+ )
+
+ distutils-r1_python_prepare_all
+}