summaryrefslogtreecommitdiff
path: root/lang/python/python-typing-extensions/Makefile
diff options
context:
space:
mode:
authorJan Pavlinec <jan.pavlinec@nic.cz>2021-03-02 13:57:04 +0100
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2021-03-07 02:16:39 +0100
commitdd3747ea1831577a28780cd417210a2d349de217 (patch)
tree68af99fa89c8e2ea0cb727b0e7b7c2c55c93da20 /lang/python/python-typing-extensions/Makefile
parentca89f03da2bf95dc2b6b74823e33f516f62abc4d (diff)
python-typing-extensions: add new package
Note: Dependency for python3-aiohttp Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz> (cherry picked from commit 034cba33c63c8bcae3da94a48ea582af657ee133)
Diffstat (limited to 'lang/python/python-typing-extensions/Makefile')
-rw-r--r--lang/python/python-typing-extensions/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/python/python-typing-extensions/Makefile b/lang/python/python-typing-extensions/Makefile
new file mode 100644
index 000000000..ce1cb68b0
--- /dev/null
+++ b/lang/python/python-typing-extensions/Makefile
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-typing-extensions
+PKG_VERSION:=3.7.4.3
+PKG_RELEASE:=1
+
+PYPI_NAME:=typing-extensions
+PYPI_SOURCE_NAME:=typing_extensions
+PKG_HASH:=99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=PSF-2.0
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+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
+endef
+
+define Package/python3-typing-extensions/description
+ Backported and Experimental Type Hints for Python.
+endef
+
+$(eval $(call Py3Package,python3-typing-extensions))
+$(eval $(call BuildPackage,python3-typing-extensions))
+$(eval $(call BuildPackage,python3-typing-extensions-src))