diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index 4702de7e93c1f..62b97169c2ccd 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,2 +1,3 @@ DIST sip-6.12.0.gh.tar.gz 2457825 BLAKE2B 40676b8f989274cb9466f4d68a63bf53aa5d093325a7627b62a5da129eb878a5c4c7f8d351500ad8aab184a9edde980e2476571e235d99283d99271cc10b85b2 SHA512 36e3a70a60560ce5c741a865dd68f9a1863742b413833386b28e838972a5e9eaa932c8a15300af6a0a1e338634202c9c79706fd3e0a10fc7b932d3fc5c80ddb0 DIST sip-6.13.0.gh.tar.gz 2460215 BLAKE2B 494017be10ad76278dc5786184dab41431fb0d32e29f35765004f3aefebff49ef2888742bfe80f2449b9bebd861377e657a8ed2fe489227494f0923869863ca6 SHA512 7780fcdffaf2070635db4df8377f911482dc25a7be8ee5cd822e54748c488b068f821a5242a9a6c98b7ecd43323e2c9b692959fdc07e4c77430695bd723c29e1 +DIST sip-6.13.1.gh.tar.gz 2461186 BLAKE2B cb9cccfa683458d949a1578830e87ca28fedba087414b2c305f6bd011446418a0ecf5457cf2b4b1a3daae3eb0ad4943b979458ada79951161a475ddb0a0decd6 SHA512 7166d225d812e26dca986edb41070d7fa696cae2ee6128b35735530ec769a9f30e880bae3a170323f663ac9f0e19b6eb039127c6e305448a6dbf866c1fa3427f diff --git a/dev-python/sip/sip-6.13.1.ebuild b/dev-python/sip/sip-6.13.1.ebuild new file mode 100644 index 0000000000000..b3cdd6e2f991a --- /dev/null +++ b/dev-python/sip/sip-6.13.1.ebuild @@ -0,0 +1,49 @@ +# 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" +# https://github.com/Python-SIP/sip/issues/95 +#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 +}