diff options
Diffstat (limited to 'dev-python/typing-extensions')
4 files changed, 0 insertions, 110 deletions
diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest deleted file mode 100644 index dc71a97ad417..000000000000 --- a/dev-python/typing-extensions/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST typing_extensions-4.15.0.tar.gz 109391 BLAKE2B 6a34bd7862531d3471741749eb11562b19f72fdb120c85348b28452ba0de4146c3a553626640b1f38437b7d6478a8c74c59cf4498cfa435d8e94113500e7a692 SHA512 7ad50638ddbb575a929ffde20ac7b421970abacb311ce1b10b4bbc3b331318784863a8f67b44531327a69be08f5ab7ade65cbd1b5cd35af69fde491d800c8074 -DIST typing_extensions-4.15.0.tar.gz.provenance 9518 BLAKE2B dae04e788e20ad350a246c1bee1ef11200dec0ba650a5fd9a6fa160083b906cd19cf2330b3aa1dc3d5c8f0bed9627599bb6854b80a932e60adf2ee89391e4208 SHA512 1332e31df66302bf0e0c2e2d3171fd4b84d276d94348e2a3de215390b4d96fcd8794e05dc7d6327e76b22889739f435cc3eef270101acb8042d43cd34613974b diff --git a/dev-python/typing-extensions/files/typing-extensions-4.15.0-py314-test.patch b/dev-python/typing-extensions/files/typing-extensions-4.15.0-py314-test.patch deleted file mode 100644 index a17dc9615766..000000000000 --- a/dev-python/typing-extensions/files/typing-extensions-4.15.0-py314-test.patch +++ /dev/null @@ -1,28 +0,0 @@ -From aa81d37f98c3322d535a7d0c8dd093870f0fb5ef Mon Sep 17 00:00:00 2001 -From: Jelle Zijlstra <jelle.zijlstra@gmail.com> -Date: Thu, 18 Sep 2025 21:03:16 -0700 -Subject: [PATCH] fix test on 3.14 - ---- - src/test_typing_extensions.py | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py -index 27f4059c..f07e1eb0 100644 ---- a/src/test_typing_extensions.py -+++ b/src/test_typing_extensions.py -@@ -4508,8 +4508,12 @@ def _make_td(future, class_name, annos, base, extra_names=None): - child = _make_td( - child_future, "Child", {"child": "int"}, "Base", {"Base": base} - ) -- base_anno = typing.ForwardRef("int", module="builtins") if base_future else int -- child_anno = typing.ForwardRef("int", module="builtins") if child_future else int -+ if sys.version_info >= (3, 14): -+ base_anno = typing.ForwardRef("int", module="builtins", owner=base) if base_future else int -+ child_anno = typing.ForwardRef("int", module="builtins", owner=child) if child_future else int -+ else: -+ base_anno = typing.ForwardRef("int", module="builtins") if base_future else int -+ child_anno = typing.ForwardRef("int", module="builtins") if child_future else int - self.assertEqual(base.__annotations__, {'base': base_anno}) - self.assertEqual( - child.__annotations__, {'child': child_anno, 'base': base_anno} diff --git a/dev-python/typing-extensions/metadata.xml b/dev-python/typing-extensions/metadata.xml deleted file mode 100644 index 7e18d1440fad..000000000000 --- a/dev-python/typing-extensions/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">typing-extensions</remote-id> - <remote-id type="github">python/typing_extensions</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/typing-extensions/typing-extensions-4.15.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.15.0.ebuild deleted file mode 100644 index 2393699a7e10..000000000000 --- a/dev-python/typing-extensions/typing-extensions-4.15.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_VERIFY_REPO=https://github.com/python/typing_extensions -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" -HOMEPAGE=" - https://pypi.org/project/typing-extensions/ - https://github.com/python/typing_extensions/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] - test? ( - dev-python/test[${PYTHON_USEDEP}] - ) -" - -# TODO: switch back to unittests once we don't need deselects -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/python/typing_extensions/pull/683 - "${FILESDIR}/${P}-py314-test.patch" -) - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - src/test_typing_extensions.py::NamedTupleTests::test_same_as_typing_NamedTuple - ) - ;; - python3.15*) - EPYTEST_DESELECT+=( - src/test_typing_extensions.py::AllTests::test_alias_names_still_exist - src/test_typing_extensions.py::AllTests::test_all_names_in___all__ - src/test_typing_extensions.py::AllTests::test_typing_extensions_includes_standard - src/test_typing_extensions.py::GetTypeHintTests::test_annotation_and_optional_default - src/test_typing_extensions.py::NoExtraItemsTests::test_constructor - src/test_typing_extensions.py::NoExtraItemsTests::test_repr - src/test_typing_extensions.py::TestSentinels::test_sentinel_deprecated - src/test_typing_extensions.py::TestSentinels::test_sentinel_deprecated_explicit_repr - src/test_typing_extensions.py::TypeAliasTypeTests::test_cannot_set_attributes - src/test_typing_extensions.py::TypeVarTupleTests::test_repr - src/test_typing_extensions.py::UnpackTests::test_repr - ) - ;; - esac - - cd src || die - epytest -} |
