From 04b0e4f066f8c42bd930bea040a0a9fe1956227c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 26 Sep 2023 16:35:33 +0800 Subject: python3-typing-extensions: upgrade 4.7.1 -> 4.8.0 Changelog: =========== -Add typing_extensions.Doc, as proposed by PEP 727. -Drop support for Python 3.7 (including PyPy-3.7). -Fix bug where get_original_bases() would return incorrect results when called on a concrete subclass of a generic class. -Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11. (From OE-Core rev: f35bbd665b52d764376aab4f56a67e2618759ec6) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-typing-extensions_4.8.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-typing-extensions_4.8.0.bb (limited to 'meta/recipes-devtools/python/python3-typing-extensions_4.8.0.bb') diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.8.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.8.0.bb new file mode 100644 index 0000000000..33749a9f0f --- /dev/null +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.8.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Backported and Experimental Type Hints for Python 3.7+" +DESCRIPTION = "The typing_extensions module serves two related purposes:\ +\ +* Enable use of new type system features on older Python versions. For \ + example, typing.TypeGuard is new in Python 3.10, but typing_extensions \ + allows users on previous Python versions to use it too.\ +* Enable experimentation with new type system PEPs before they are accepted \ + and added to the typing module." +HOMEPAGE = "https://github.com/python/typing_extensions" +BUGTRACKER = "https://github.com/python/typing_extensions/issues" +SECTIONS = "libs" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" + +# The name on PyPi is slightly different. +PYPI_PACKAGE = "typing_extensions" + +SRC_URI[sha256sum] = "df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef" + +inherit pypi python_flit_core + +UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P(\d+[\.\-_]*)+)/" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf