diff options
author | Jeffery To <jeffery.to@gmail.com> | 2023-05-29 14:05:54 +0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2023-05-29 18:16:38 +0300 |
commit | f45f067f3f9726acfb0d5edd193731bc587ff54f (patch) | |
tree | 75f409b3a0708b857c2041f0c307e3aa3b191611 | |
parent | 17007845bc4964aabf3635903fcb0f0b0e7386aa (diff) |
python-typing-extensions: Update to 4.6.2
This also updates the SPDX license identifier, title, description and
URL for the package.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
-rw-r--r-- | lang/python/python-typing-extensions/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lang/python/python-typing-extensions/Makefile b/lang/python/python-typing-extensions/Makefile index 5bf3273ae..dd6cfe7ac 100644 --- a/lang/python/python-typing-extensions/Makefile +++ b/lang/python/python-typing-extensions/Makefile @@ -8,15 +8,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-typing-extensions -PKG_VERSION:=4.5.0 +PKG_VERSION:=4.6.2 PKG_RELEASE:=1 PYPI_NAME:=typing-extensions PYPI_SOURCE_NAME:=typing_extensions -PKG_HASH:=5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb +PKG_HASH:=06006244c70ac8ee83fa8282cb188f697b8db25bc8b4df07be1873c43897060c PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>, Jeffery To <jeffery.to@gmail.com> -PKG_LICENSE:=PSF-2.0 +PKG_LICENSE:=Python-2.0.1 0BSD PKG_LICENSE_FILES:=LICENSE PKG_BUILD_DEPENDS:=python-flit-core/host @@ -32,14 +32,20 @@ define Package/python3-typing-extensions SUBMENU:=Python SECTION:=lang CATEGORY:=Languages - TITLE:=Module with type hints for Python - URL:=https://github.com/python/typing - DEPENDS:= \ - +python3-light + TITLE:=Backported and Experimental Type Hints + URL:=https://github.com/python/typing_extensions + DEPENDS:=+python3-light endef define Package/python3-typing-extensions/description - Backported and Experimental Type Hints for Python. +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. endef $(eval $(call Py3Package,python3-typing-extensions)) |