summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-11-03 07:54:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-07 14:32:42 +0000
commitde15d93a37a9d57ddfbc11447dc046191fc85613 (patch)
treeb3945bbb64f9efec38fe79e1e6303e95a9ce5c34 /meta/recipes-devtools/python
parent41e47358f81c48411cf4546b5054dee79693a0b8 (diff)
downloadpoky-de15d93a37a9d57ddfbc11447dc046191fc85613.tar.gz
python3-typing-extensions: upgrade 4.3.0 -> 4.4.0
* Add SUMMARY, DESCRIPTION, BUGTRACKER and SECTION * Update HOMEPAGE to agree with PyPi https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-440-october-6-2022 Release 4.4.0 (October 6, 2022) * Add typing_extensions.Any a backport of python 3.11's Any class which is subclassable at runtime. (backport from python/cpython#31841, by Shantanu and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234). * Add initial support for TypeVarLike default parameter, PEP 696. Patch by Marc Mueller (@cdce8p). * Runtime support for PEP 698, adding typing_extensions.override. Patch by Jelle Zijlstra. * Add the infer_variance parameter to TypeVar, as specified in PEP 695. Patch by Jelle Zijlstra. License-Update: update copyright years; align with CPython LICENSE See https://github.com/python/typing_extensions/pull/63 (From OE-Core rev: 15ca091ae01ae298c013e8cf82ee6af382259ed8) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-typing-extensions_4.3.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb24
2 files changed, 24 insertions, 14 deletions
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.3.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.3.0.bb
deleted file mode 100644
index 9638491eb4..0000000000
--- a/meta/recipes-devtools/python/python3-typing-extensions_4.3.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1HOMEPAGE = "https://github.com/python/typing"
2LICENSE = "PSF-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
4
5# The name on PyPi is slightly different.
6PYPI_PACKAGE = "typing_extensions"
7
8SRC_URI[sha256sum] = "e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"
9
10inherit pypi python_flit_core
11
12BBCLASSEXTEND = "native nativesdk"
13
14UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb
new file mode 100644
index 0000000000..27ec7560ea
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.4.0.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Backported and Experimental Type Hints for Python 3.7+"
2DESCRIPTION = "The typing_extensions module serves two related purposes:\
3\
4* Enable use of new type system features on older Python versions. For \
5 example, typing.TypeGuard is new in Python 3.10, but typing_extensions \
6 allows users on previous Python versions to use it too.\
7* Enable experimentation with new type system PEPs before they are accepted \
8 and added to the typing module."
9HOMEPAGE = "https://github.com/python/typing_extensions"
10BUGTRACKER = "https://github.com/python/typing_extensions/issues"
11SECTIONS = "libs"
12LICENSE = "PSF-2.0"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2"
14
15# The name on PyPi is slightly different.
16PYPI_PACKAGE = "typing_extensions"
17
18SRC_URI[sha256sum] = "1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"
19
20inherit pypi python_flit_core
21
22UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/"
23
24BBCLASSEXTEND = "native nativesdk"