diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index 9bb8fde78511..e7195114f59b 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1 +1,2 @@ DIST sip-6.14.0.gh.tar.gz 2461525 BLAKE2B e7dfe6628a2233d3385785a0f67e72f93061bf91846d02fc2b401377862187d06e3afeaae4c3883faae38ccf66ca6c9742e71b3d1f060f3c24f68366be62527a SHA512 dc67ca7816b883b278dec4e350d62852df2ef386a4013ced6209f0d877882761c82926be01ee0217dd97ac834d8cee358f177f5c5878c6e8acd9738326bdfba4 +DIST sip-6.15.0.gh.tar.gz 2684191 BLAKE2B 84cd0cefd1227c7d49342b9cd5e5ebab37a96f6d2ecbfaf1a6cf814218234d4dedefe7e7b3f83b5258843e87deb2300f475eefc5fb00d1d6637663cbf68c5127 SHA512 83a2be7e5a0e06ce4854b526aac9d535fb576dd57a041ef24ffca99da02ff4f7342cc442404c547a6e791c685ae89e32237e9bd514c6979516be4b2e84adc4a5 diff --git a/dev-python/sip/sip-6.15.0.ebuild b/dev-python/sip/sip-6.15.0.ebuild new file mode 100644 index 000000000000..868722ff9571 --- /dev/null +++ b/dev-python/sip/sip-6.15.0.ebuild @@ -0,0 +1,48 @@ +# 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_{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 +}