From ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9 Mon Sep 17 00:00:00 2001 From: Crucible Date: Thu, 8 Oct 2026 03:05:01 -0500 Subject: Publish srcux candidate 0000000587-20261008-030306 --- dev-python/sip/files/sip-6.17.0-abi-int.patch | 33 +++++++++++++++++++---- dev-python/sip/sip-6.17.0-r1.ebuild | 38 +++++++++++++++++++++++++++ dev-python/sip/sip-6.17.0.ebuild | 38 --------------------------- 3 files changed, 66 insertions(+), 43 deletions(-) create mode 100644 dev-python/sip/sip-6.17.0-r1.ebuild delete mode 100644 dev-python/sip/sip-6.17.0.ebuild (limited to 'dev-python/sip') diff --git a/dev-python/sip/files/sip-6.17.0-abi-int.patch b/dev-python/sip/files/sip-6.17.0-abi-int.patch index c30a55e137f4..475e0285edc3 100644 --- a/dev-python/sip/files/sip-6.17.0-abi-int.patch +++ b/dev-python/sip/files/sip-6.17.0-abi-int.patch @@ -1,8 +1,31 @@ https://github.com/Python-SIP/sip/issues/118 --- a/sipbuild/project.py +++ b/sipbuild/project.py -@@ -1009,3 +1009,3 @@ - # ABI v14 requires Python v3.15 as a minimum. -- if self.abi_version[0] >= 14 and version < (3, 15, 0): -+ if int(self.abi_version[0]) >= 14 and version < (3, 15, 0): - version = (3, 15, 0) +@@ -248,4 +248,13 @@ + super().apply_user_defaults(tool) + ++ # Get the provisional ABI version to target. If it is not specified ++ # then the major number will be 0 which is interpreted as being any ABI ++ # prior to v14 (ie. v12 or v13). The parser will finalise the actual ++ # target ABI. ++ if self.abi_version: ++ self.abi_version = parse_abi_version(self.abi_version) ++ else: ++ self.abi_version = (0, None) ++ + # Adjust the list of bindings according to what has been explicitly + # enabled and disabled. +@@ -777,13 +786,4 @@ + self.py_major_version, self.py_minor_version)) + +- # Get the provisional ABI version to target. If it is not specified +- # then the major number will be 0 which is interpreted as being any ABI +- # prior to v14 (ie. v12 or v13). The parser will finalise the actual +- # target ABI. +- if self.abi_version: +- self.abi_version = parse_abi_version(self.abi_version) +- else: +- self.abi_version = (0, None) +- + # We know enough about the ABI to create an appropriate backend. + self.backend = AbstractBackend.factory(self) diff --git a/dev-python/sip/sip-6.17.0-r1.ebuild b/dev-python/sip/sip-6.17.0-r1.ebuild new file mode 100644 index 000000000000..c04b456185d7 --- /dev/null +++ b/dev-python/sip/sip-6.17.0-r1.ebuild @@ -0,0 +1,38 @@ +# 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_{13..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 + +PATCHES=( + "${FILESDIR}"/${PN}-6.17.0-abi-int.patch +) diff --git a/dev-python/sip/sip-6.17.0.ebuild b/dev-python/sip/sip-6.17.0.ebuild deleted file mode 100644 index c04b456185d7..000000000000 --- a/dev-python/sip/sip-6.17.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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_{13..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 - -PATCHES=( - "${FILESDIR}"/${PN}-6.17.0-abi-int.patch -) -- cgit v1.3