From 6d9932ab1080eb21e2c803c879113a4d94a40417 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 19 Aug 2024 14:07:45 +0200 Subject: [PATCH] dev-python/typing-extensions: Add from Gentoo It's from Gentoo commit 5ffed97e2767710ae845de7488af4d0b7997eaf8. --- .../dev-python/typing-extensions/Manifest | 1 + .../dev-python/typing-extensions/metadata.xml | 13 ++++++++++ .../typing-extensions-4.12.2.ebuild | 26 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.12.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest new file mode 100644 index 0000000000..ef63c13168 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest @@ -0,0 +1 @@ +DIST typing_extensions-4.12.2.tar.gz 85321 BLAKE2B 8f32740675f5da226c6fd5fa95e0b903794d76cc25d759bee6b136913a3eedc7a702cdc7709587cae13ba3b3d44a7bb1acbdad61333fe655382e3d01d63a3fa7 SHA512 b06f26ae55194f37ee48dcb894bf583051c9e74f639f25195990f56330eae7b585ab4b8655ca575539f48254c20f1920628db6db10512953d1f6364e3c076a27 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/metadata.xml new file mode 100644 index 0000000000..7e18d1440f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + typing-extensions + python/typing_extensions + + diff --git a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.12.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.12.2.ebuild new file mode 100644 index 0000000000..88fe42f133 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.12.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +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 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +}