commit:     e73ba4d4e460022c1c503337927314473d739250
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  9 14:14:05 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar  9 14:29:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73ba4d4

dev-python/sip: add 6.15.2

On a side-note, the pypi sdist has tests now but is still missing
bits for USE=doc.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/sip/Manifest          |  1 +
 dev-python/sip/sip-6.15.2.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
index bf00e6ae0b36..c96f7f9054a6 100644
--- a/dev-python/sip/Manifest
+++ b/dev-python/sip/Manifest
@@ -1 +1,2 @@
 DIST sip-6.15.1.gh.tar.gz 2684607 BLAKE2B 
eb195d6de6de196630ee230a3ec561c57b50fb54b1ccabf33bc6838475c0d35968b1502daa8e5e9e78a9a875638261f2552a2a149e1625b23e117f832ba77f96
 SHA512 
fb14c7fae760dfed6719a1c5af284237a016b455897a4164f99dbaf86e92010d69dd2960133a64dedf0503fe102bfd0a1187873263370b556260e82f37aeb5ba
+DIST sip-6.15.2.gh.tar.gz 2689763 BLAKE2B 
c6c521ad077b01cbb3cdf90f548959822256ea65f7dcce71790b336264f0401d92162efd56bdedc932f0da5e03eec11f1ad1fb1a0b6b11f7964c89930e1463b8
 SHA512 
c8fb5b4331e7c9dd491d71bd999be29234c340ac0fd8e6132cab703a8671eb6b3d7e8420f39b461b26fc9a8431ebc02699a01774e191f4b4ea4f4ab0af91d4d8

diff --git a/dev-python/sip/sip-6.15.2.ebuild b/dev-python/sip/sip-6.15.2.ebuild
new file mode 100644
index 000000000000..348c5ce93676
--- /dev/null
+++ b/dev-python/sip/sip-6.15.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings generator for C/C++ libraries"
+HOMEPAGE="https://github.com/Python-SIP/sip/";
+SRC_URI="
+       https://github.com/Python-SIP/sip/archive/refs/tags/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2 BSD"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+
+RDEPEND="
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+       dev-python/myst-parser \
+       dev-python/sphinx-rtd-theme
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       # some tests currently fails to find test/utils without this
+       # TODO: try again without, used to be unneeded but not been looked into
+       local -x PYTHONPATH=${S}/test:${PYTHONPATH}
+
+       local EPYTEST_DESELECT=(
+               # logic for this test seems(?) inverted (XFAIL), skip for now
+               # given it's new and is only to emit a deprecation warning
+               
test/gen_classes/test_gen_classes.py::GenerateClassesTestCase::test_Nonpublic_Superclasses
+       )
+
+       distutils-r1_python_test
+}

Reply via email to