public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/files/, dev-python/pygccxml/
Date: Fri, 10 Jan 2025 16:42:55 +0000 (UTC)	[thread overview]
Message-ID: <1736527348.b7b09f9fa3636474af90e386df66f2e4609640e7.tomjbe@gentoo> (raw)

commit:     b7b09f9fa3636474af90e386df66f2e4609640e7
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 16:38:57 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 16:42:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b09f9f

dev-python/pygccxml: add 2.6.1

Had to deselect 109 of 288 tests. See bug for more information.

Bug: https://bugs.gentoo.org/947191
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 dev-python/pygccxml/Manifest                       |  1 +
 .../files/pygccxml-2.6.1-xml_generator.patch       |  9 +++
 dev-python/pygccxml/pygccxml-2.6.1.ebuild          | 70 ++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest
index 2e8b7633ee94..b7d38bf3437f 100644
--- a/dev-python/pygccxml/Manifest
+++ b/dev-python/pygccxml/Manifest
@@ -1 +1,2 @@
 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

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
+}


             reply	other threads:[~2025-01-10 16:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-10 16:42 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-28 18:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/pygccxml/files/, dev-python/pygccxml/ Thomas Beierlein
2024-08-26 20:07 Thomas Beierlein
2024-04-15 14:30 Michał Górny
2023-11-20 15:15 Thomas Beierlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736527348.b7b09f9fa3636474af90e386df66f2e4609640e7.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox