mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 08:02:23 +02:00
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 <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
717631016f
commit
04b0e4f066
@@ -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<pver>(\d+[\.\-_]*)+)/"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user