diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index c96f7f9054a62..482950ad668ff 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,2 +1,3 @@ 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 +DIST sip-6.15.3.gh.tar.gz 2690715 BLAKE2B fb2729a3c80e21c340e7374703b11ad5d90c35eb73fd1d9b873064d19f1c26cb88b60abad2a03dd2dbe8783a8d151d61b09718bc71f9c16142997abc047fab69 SHA512 6a496248d11f991692f2b0676081c3c846de4f9aa3c2fca071aed350f3f84916298e997d72e22b43829566042578ebc24df9c2788d8f4a46a07d3f485cc1adb0 diff --git a/dev-python/sip/sip-6.15.3.ebuild b/dev-python/sip/sip-6.15.3.ebuild new file mode 100644 index 0000000000000..348c5ce936764 --- /dev/null +++ b/dev-python/sip/sip-6.15.3.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 +}