mirror of
https://git.yoctoproject.org/poky
synced 2026-02-02 14:58:43 +01:00
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-450-february-14-2023 Release 4.5.0 (February 14, 2023) * Runtime support for PEP 702, adding typing_extensions.deprecated. Patch by Jelle Zijlstra. * Add better default value for TypeVar default parameter, PEP 696. Enables runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p). * The @typing_extensions.override decorator now sets the .__override__ attribute. Patch by Steven Troxler. * Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10. Patch by Carl Meyer. * Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte. (From OE-Core rev: d3f0a9b620a930e9f48bf9f0d76f82ca6560887a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
1002 B
BlitzBasic
25 lines
1002 B
BlitzBasic
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=f16b323917992e0f8a6f0071bc9913e2"
|
|
|
|
# The name on PyPi is slightly different.
|
|
PYPI_PACKAGE = "typing_extensions"
|
|
|
|
SRC_URI[sha256sum] = "5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb"
|
|
|
|
inherit pypi python_flit_core
|
|
|
|
UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|