dev-python/sip: drop 6.12.0

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2025-11-12 13:19:00 -05:00
parent 4fc81f2368
commit 694d877f1d
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
3 changed files with 0 additions and 69 deletions

View File

@ -1,2 +1 @@
DIST sip-6.12.0.gh.tar.gz 2457825 BLAKE2B 40676b8f989274cb9466f4d68a63bf53aa5d093325a7627b62a5da129eb878a5c4c7f8d351500ad8aab184a9edde980e2476571e235d99283d99271cc10b85b2 SHA512 36e3a70a60560ce5c741a865dd68f9a1863742b413833386b28e838972a5e9eaa932c8a15300af6a0a1e338634202c9c79706fd3e0a10fc7b932d3fc5c80ddb0
DIST sip-6.14.0.gh.tar.gz 2461525 BLAKE2B e7dfe6628a2233d3385785a0f67e72f93061bf91846d02fc2b401377862187d06e3afeaae4c3883faae38ccf66ca6c9742e71b3d1f060f3c24f68366be62527a SHA512 dc67ca7816b883b278dec4e350d62852df2ef386a4013ced6209f0d877882761c82926be01ee0217dd97ac834d8cee358f177f5c5878c6e8acd9738326bdfba4

View File

@ -1,30 +0,0 @@
https://github.com/Python-SIP/sip/issues/82
https://github.com/philthompson10/sip/commit/e967ea0ae77c45ab5f8a411390d1acf1e0bb394e
--- a/test/movable/test_movable.py
+++ b/test/movable/test_movable.py
@@ -24,5 +24,10 @@
+ # As of Python v3.14 we can't make assumptions about initial
+ # reference counts so we test for increases and decreases rather than
+ # absolute values.
+ ao_base_refcount = getrefcount(ao)
+
# Test the value of the object.
self.assertEqual(ao.getValue(), 3)
- self.assertEqual(getrefcount(ao), 2)
+ self.assertEqual(getrefcount(ao), ao_base_refcount)
@@ -33,3 +38,3 @@
ow.setObject(ao)
- self.assertEqual(getrefcount(ao), 3)
+ self.assertEqual(getrefcount(ao), ao_base_refcount + 1)
self.assertEqual(ow.getObjectValue(), 4)
@@ -38,3 +43,2 @@
ao2 = ow.takeObject()
- self.assertEqual(getrefcount(ao2), 2)
self.assertEqual(ow.getObjectValue(), -1000)
@@ -45,3 +49,3 @@
# Check that the original Python object no longer wraps the C++ object.
- self.assertEqual(getrefcount(ao), 2)
+ self.assertEqual(getrefcount(ao), ao_base_refcount)
self.assertRaises(RuntimeError, ao.getValue)

View File

@ -1,38 +0,0 @@
# 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
PATCHES=(
"${FILESDIR}"/${P}-python314-test.patch
)