From 6a1603d4d4d0565d7b1a6a498d9efa13523e071a Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 17 May 2022 15:59:31 -0600 Subject: [PATCH] package/python-mypy-extensions: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-mypy-extensions/Config.in | 7 +++++++ .../python-mypy-extensions.hash | 5 +++++ .../python-mypy-extensions.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-mypy-extensions/Config.in create mode 100644 package/python-mypy-extensions/python-mypy-extensions.hash create mode 100644 package/python-mypy-extensions/python-mypy-extensions.mk diff --git a/DEVELOPERS b/DEVELOPERS index 55e27edf83..65fc880623 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1349,6 +1349,7 @@ F: package/python-installer/ F: package/python-janus/ F: package/python-logstash/ F: package/python-multidict/ +F: package/python-mypy-extensions/ F: package/python-pep517/ F: package/python-pycares/ F: package/python-pydyf/ diff --git a/package/Config.in b/package/Config.in index 75516dd453..9f9d8124a6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1110,6 +1110,7 @@ menu "External python modules" source "package/python-mwclient/Config.in" source "package/python-mwscrape/Config.in" source "package/python-mwscrape2slob/Config.in" + source "package/python-mypy-extensions/Config.in" source "package/python-nested-dict/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in" diff --git a/package/python-mypy-extensions/Config.in b/package/python-mypy-extensions/Config.in new file mode 100644 index 0000000000..cc5b78033e --- /dev/null +++ b/package/python-mypy-extensions/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MYPY_EXTENSIONS + bool "python-mypy-extensions" + help + Experimental type system extensions for programs checked + with the mypy typechecker. + + https://github.com/python/mypy_extensions diff --git a/package/python-mypy-extensions/python-mypy-extensions.hash b/package/python-mypy-extensions/python-mypy-extensions.hash new file mode 100644 index 0000000000..ffe850d7bd --- /dev/null +++ b/package/python-mypy-extensions/python-mypy-extensions.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mypy_extensions/json +md5 4163ff73d0db8631c0a78bb55b551c84 mypy_extensions-0.4.3.tar.gz +sha256 2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 mypy_extensions-0.4.3.tar.gz +# Locally computed sha256 checksums +sha256 a50450da1d53cd777b80ced77c58ff96abe0ccd879706bd142c3ec20e245f0b4 LICENSE diff --git a/package/python-mypy-extensions/python-mypy-extensions.mk b/package/python-mypy-extensions/python-mypy-extensions.mk new file mode 100644 index 0000000000..26dc329a37 --- /dev/null +++ b/package/python-mypy-extensions/python-mypy-extensions.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-mypy-extensions +# +################################################################################ + +PYTHON_MYPY_EXTENSIONS_VERSION = 0.4.3 +PYTHON_MYPY_EXTENSIONS_SOURCE = mypy_extensions-$(PYTHON_MYPY_EXTENSIONS_VERSION).tar.gz +PYTHON_MYPY_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f +PYTHON_MYPY_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_MYPY_EXTENSIONS_LICENSE = MIT +PYTHON_MYPY_EXTENSIONS_LICENSE_FILES = LICENSE + +$(eval $(python-package))