summaryrefslogtreecommitdiff
path: root/dev-python/pygccxml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-11 06:41:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-11 06:41:28 +0000
commitf1634517e73f2faf342a366354c3e0f2edb45952 (patch)
treeae3c632ec3576f8d57b3acd5e1aba5643f0f6d9b /dev-python/pygccxml
parentf9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 (diff)
gentoo auto-resync : 11:01:2025 - 06:41:28
Diffstat (limited to 'dev-python/pygccxml')
-rw-r--r--dev-python/pygccxml/Manifest3
-rw-r--r--dev-python/pygccxml/files/pygccxml-2.6.1-xml_generator.patch9
-rw-r--r--dev-python/pygccxml/pygccxml-2.6.1.ebuild70
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest
index d8413e255c90..c852debed30e 100644
--- a/dev-python/pygccxml/Manifest
+++ b/dev-python/pygccxml/Manifest
@@ -2,6 +2,9 @@ AUX pygccxml-2.4.0-doc.patch 798 BLAKE2B f062375f40ada000fd266f50d6fdf3ab70ef744
AUX pygccxml-2.5.0-fix-test-flags.patch 331 BLAKE2B a5815a5e6908728dfc7104dc8bd7d8408098e52ca34d0fad8b3c760ca2de5d1a1803a7ff989ace7cf881dc74fee14561e4487735dc44a4ca102ac91204a8f1d3 SHA512 61f47c57e6688ad4975e803c3f20df01c64fe4d75d14e1cb7e037e5a6f9cff013180808e753681d1d934c8bdd36b81fccfc2871a655af82006c9fad4fb8fff4a
AUX pygccxml-2.5.0-fix-tests.patch 5083 BLAKE2B d1b1863cc744ee9941b2064d0e5623988ce00141663f27dde3b3ff9d0db8a9d9ef28d85aabe4f42faf071d6b3e3b3559b6732e0e25b50beaf7d03425c9c09640 SHA512 156ad1196f2b41918fb85f493533e24a4c44c52e15dda15fdb262c4e602f12bcae9331ec16c4ae8bb8b50256a872dc88e371908b94d282ff973953ccb65e9fd9
AUX pygccxml-2.5.0-which.patch 2637 BLAKE2B 859f7418d5c427e27a925993c209ff6daff667abf0822eea8baf49a5ad5b349ccfb3083e765e6aa893019b402b7464c46ca50f7e484ded6f84c4d85c17955c4b SHA512 48d1bb31516afcefbb80dc04a47166bf9980da1aee9c5e434c7d45928cfee7abcaa0e7cc64752de78991144351c90b4c6160a42aa4d0639a791162467444c056
+AUX pygccxml-2.6.1-xml_generator.patch 207 BLAKE2B f4a4081edf2adf520bd2bd9739528f6090bae3b0ca0a0e137d29c528a2fe9bfa8be854e71ade91657f043f66aa899f1ff9ad7f10ff3e3df7ea323efa101cf8ec SHA512 ac90d4d3a6123f29152c091616f5456741acaf859f0d5a360dc851a99a4dea5d315e8a80735641166259edbe2ee0dffe19b6aa986a10f93cdecee3db0ee099c0
DIST pygccxml-2.5.0.gh.tar.gz 3163862 BLAKE2B 2a61474acab7e7a21b21bc7131a9b9aae2a318d3b761c9a3865055146331891e5fb2041a9136bd8816e60a4dc76a39a22d5f5632f22336341667eee537521a42 SHA512 499be7383ac9817c5620f7f0b2e6fdb9a6f5d934cc54a2ef9864877a2a7d896997ab5bc2e8b0c3c87df1ac7e4a384d3c8cbcc87f9496125502c97766df57b003
+DIST pygccxml-2.6.1.gh.tar.gz 3154561 BLAKE2B 95fb9df63f4175eab707211cb14d178437928ddad76eeb416d8cf4a48b29c211d80ba55533deb0a12e6bad4435df9bf82a1321b37cdc8db39d217f2995d1215e SHA512 b0ccd12b50d93287189fa86be6e11f44e28869045e6d7f6f84f34220cea642fc267eee150fe544bb54839b7f467f64af4a6025c84b94df7793645f2d444ae60d
EBUILD pygccxml-2.5.0.ebuild 1223 BLAKE2B f8b167120eaae75b8c4a14b22e18cdd13b61cea4e00462cb3cc45f8116cc80cb266371ff170e477d9e9865f502b10485c765942082155f4d9ae63a0cb4c884fa SHA512 ac84e131d55b71078f09b03755cc3d88e96770be409dc6e218db25bf5cd8c230896710db4ed7728347b76df9b099d8415e502e9d0e34c41693f5fb25b417b597
+EBUILD pygccxml-2.6.1.ebuild 1683 BLAKE2B 25ac97460356661d1a953b525b6d68d58c3d6c772332bde17042318c15d20d3d83f47ac011e2533da4f6bd8f12926397ed3111df525c75185b229f8abdb8d804 SHA512 121bd7ae573d1634039d6ae4747e6a9d86c3f9d33f513529d061e8aecee468f9b0b01c294a916833615007a5d40c21494746c211b4ebdd92faf3f1d12f9c2c75
MISC metadata.xml 554 BLAKE2B 27017dc7cae6aacbe62f9ba64896e0a247371844b0baab86c5c1b1673771b888e2043a4486863857b565ed18a7928c500c07b6c6dc4f1f50494e680367928aca SHA512 eb46746c8d9b3341d8057a457785ad0c3b34ba26ca941496bc5c37f767c7472a2ed2bb5aafe06f5b677710f969b9a9229d8c24cd3dcdd30624168765bc89e3b7
diff --git a/dev-python/pygccxml/files/pygccxml-2.6.1-xml_generator.patch b/dev-python/pygccxml/files/pygccxml-2.6.1-xml_generator.patch
new file mode 100644
index 000000000000..1daf9e7afbf1
--- /dev/null
+++ b/dev-python/pygccxml/files/pygccxml-2.6.1-xml_generator.patch
@@ -0,0 +1,9 @@
+diff --git a/tests/xml_generator.cfg b/tests/xml_generator.cfg
+new file mode 100644
+index 0000000..44aea50
+--- /dev/null
++++ b/tests/xml_generator.cfg
+@@ -0,0 +1,3 @@
++[xml_generator]
++cflags="-std=c++14"
++
diff --git a/dev-python/pygccxml/pygccxml-2.6.1.ebuild b/dev-python/pygccxml/pygccxml-2.6.1.ebuild
new file mode 100644
index 000000000000..f9872baf8620
--- /dev/null
+++ b/dev-python/pygccxml/pygccxml-2.6.1.ebuild
@@ -0,0 +1,70 @@
+# 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=(
+ # fails with >=gcc-14
+ # with 'unable to find actual class definition 'type''
+ tests/test_cached_source_file.py
+ tests/test_core.py
+ tests/test_cpp_standards.py
+ tests/test_decl_printer.py
+ tests/test_declarations_comparison.py
+ tests/test_file_cache.py
+ tests/test_non_copyable_recursive.py
+ tests/test_null_comparison.py
+ tests/test_overrides.py
+ tests/test_pattern_parser.py::test_template_split_std_vector
+ tests/test_project_reader_correctness.py
+ tests/test_xmlfile_reader.py
+
+ tests/test_example.py
+
+ # spaces inside < >
+ tests/test_variable_matcher.py::test_no_defaults
+ tests/test_vector_traits.py::test_element_type
+ tests/test_remove_template_defaults.py
+ tests/test_find_container_traits.py
+)
+
+python_prepare_all() {
+ local PATCHES=(
+ # force -std=c++14 as default for tests because of errors due to
+ # test files with dynamic exception specification
+ "${FILESDIR}/${PN}-2.6.1-xml_generator.patch"
+ "${FILESDIR}/${PN}-2.4.0-doc.patch"
+ )
+
+ distutils-r1_python_prepare_all
+}