From 22bc2aebe9d9b1e6995607bb290abc8517f2f491 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 23 Oct 2025 13:04:07 -0400 Subject: [PATCH] dev-python/sip: add 6.14.0 Signed-off-by: Ionen Wolkens --- dev-python/sip/Manifest | 1 + dev-python/sip/sip-6.14.0.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/sip/sip-6.14.0.ebuild diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index 62b97169c2ccd..64c0b23fff3f3 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1,3 +1,4 @@ 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 +DIST sip-6.14.0.gh.tar.gz 2461525 BLAKE2B e7dfe6628a2233d3385785a0f67e72f93061bf91846d02fc2b401377862187d06e3afeaae4c3883faae38ccf66ca6c9742e71b3d1f060f3c24f68366be62527a SHA512 dc67ca7816b883b278dec4e350d62852df2ef386a4013ced6209f0d877882761c82926be01ee0217dd97ac834d8cee358f177f5c5878c6e8acd9738326bdfba4 diff --git a/dev-python/sip/sip-6.14.0.ebuild b/dev-python/sip/sip-6.14.0.ebuild new file mode 100644 index 0000000000000..868722ff95716 --- /dev/null +++ b/dev-python/sip/sip-6.14.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 +}