diff options
Diffstat (limited to 'dev-python/overrides')
| -rw-r--r-- | dev-python/overrides/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/overrides/files/overrides-7.7.0-py314.patch | 35 | ||||
| -rw-r--r-- | dev-python/overrides/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/overrides/overrides-7.7.0-r1.ebuild | 26 |
4 files changed, 0 insertions, 75 deletions
diff --git a/dev-python/overrides/Manifest b/dev-python/overrides/Manifest deleted file mode 100644 index 4cbd129a96ee..000000000000 --- a/dev-python/overrides/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST overrides-7.7.0.tar.gz 22812 BLAKE2B e51af6806e741f18fbfda57824e8f0db9f77686719b287c2b8abb8a33925c2ded8ac3fd40cb097cfcad60e06dcf5ced291e278b03a28afe15a6a6312306d200b SHA512 b2ad06da01e657839c5cbd62c49aa1022c4302fad44fd6b1a57e623e27d1c9d8cabdd9bf9c9a02c87a3b3618a662b922533cf407d17efa43769b0fc6360b5073 diff --git a/dev-python/overrides/files/overrides-7.7.0-py314.patch b/dev-python/overrides/files/overrides-7.7.0-py314.patch deleted file mode 100644 index 22f32892146f..000000000000 --- a/dev-python/overrides/files/overrides-7.7.0-py314.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 77f006c388ab3a93c88fb8aeb3d2bde20d585682 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 31 May 2025 18:58:45 +0200 -Subject: [PATCH] Fix `ImportError` on Python 3.14 due to missing - `typing.ByteString` - -Add `typing.ByteString` to `BUILTINS_MAPPING` only when it is present. -The type has been removed in Python 3.14. - -Fixes #127 ---- - overrides/typing_utils.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/overrides/typing_utils.py b/overrides/typing_utils.py -index f628d40..15ab796 100644 ---- a/overrides/typing_utils.py -+++ b/overrides/typing_utils.py -@@ -47,12 +47,15 @@ - typing.Set: set, - typing.Dict: dict, - typing.Tuple: tuple, -- typing.ByteString: bytes, # https://docs.python.org/3/library/typing.html#typing.ByteString - typing.Callable: collections.abc.Callable, - typing.Sequence: collections.abc.Sequence, - type(None): None, - } - -+if hasattr(typing, "ByteString"): -+ # https://docs.python.org/3/library/typing.html#typing.ByteString -+ BUILTINS_MAPPING[typing.ByteString] = bytes -+ - STATIC_SUBTYPE_MAPPING: typing.Dict[type, typing.Type] = { - io.TextIOWrapper: typing.TextIO, - io.TextIOBase: typing.TextIO, diff --git a/dev-python/overrides/metadata.xml b/dev-python/overrides/metadata.xml deleted file mode 100644 index 5f4962551bfb..000000000000 --- a/dev-python/overrides/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">overrides</remote-id> - <remote-id type="github">mkorpela/overrides</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/overrides/overrides-7.7.0-r1.ebuild b/dev-python/overrides/overrides-7.7.0-r1.ebuild deleted file mode 100644 index 0515c4c17d1d..000000000000 --- a/dev-python/overrides/overrides-7.7.0-r1.ebuild +++ /dev/null @@ -1,26 +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 pypi - -DESCRIPTION="A decorator to automatically detect mismatch when overriding a method" -HOMEPAGE=" - https://pypi.org/project/overrides/ - https://github.com/mkorpela/overrides/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/mkorpela/overrides/pull/133 - "${FILESDIR}/${P}-py314.patch" -) |
