package/python-typing-extensions: new package
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Wed, 23 Dec 2020 16:12:23 +0000 (17:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 08:29:35 +0000 (09:29 +0100)
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-typing-extensions/Config.in [new file with mode: 0644]
package/python-typing-extensions/python-typing-extensions.hash [new file with mode: 0644]
package/python-typing-extensions/python-typing-extensions.mk [new file with mode: 0644]

index d0b4cd7531c801390940ef537d85ec2890c5ea08..a1c3a7af23469691f3abf0f7638f3ab8a91dee9d 100644 (file)
@@ -1600,6 +1600,7 @@ F:        package/python-intelhex/
 F:     package/python-packaging/
 F:     package/python-pluggy/
 F:     package/python-pytest/
+F:     package/python-typing-extensions/
 F:     package/python-xmodem/
 F:     package/rs485conf/
 F:     package/turbolua/
index c3677dd15ef6f87d0b50a5f0c669bbc706df768e..70f908a7d5f758e1fb7c2f3a6d056fe172dfaae3 100644 (file)
@@ -1211,6 +1211,7 @@ menu "External python modules"
        source "package/python-txtorcon/Config.in"
        source "package/python-typepy/Config.in"
        source "package/python-typing/Config.in"
+       source "package/python-typing-extensions/Config.in"
        source "package/python-u-msgpack/Config.in"
        source "package/python-ubjson/Config.in"
        source "package/python-ujson/Config.in"
diff --git a/package/python-typing-extensions/Config.in b/package/python-typing-extensions/Config.in
new file mode 100644 (file)
index 0000000..0c7c74c
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS
+       bool "python-typing-extensions"
+       select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime
+       help
+         Backported and Experimental Type Hints for Python 3.5+.
+
+         https://github.com/python/typing/blob/master/typing_extensions/README.rst
diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash
new file mode 100644 (file)
index 0000000..4c76cab
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/typing_extensions/json
+md5  5fcbfcb22e6f8c9bf23fb9f8e020f6ee  typing_extensions-3.7.4.3.tar.gz
+sha256  99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c  typing_extensions-3.7.4.3.tar.gz
+# Locally computed sha256 checksums
+sha256  ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad  LICENSE
diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk
new file mode 100644 (file)
index 0000000..2bcf134
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-typing-extensions
+#
+################################################################################
+
+PYTHON_TYPING_EXTENSIONS_VERSION = 3.7.4.3
+PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz
+PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/16/06/0f7367eafb692f73158e5c5cbca1aec798cdf78be5167f6415dd4205fa32
+PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools
+PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0
+PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))