package/python-jaraco-functools: new package
authorAsaf Kahlon <asafka7@gmail.com>
Mon, 14 Oct 2019 19:12:27 +0000 (22:12 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 14 Oct 2019 20:17:53 +0000 (22:17 +0200)
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/python-jaraco-functools/Config.in [new file with mode: 0644]
package/python-jaraco-functools/python-jaraco-functools.hash [new file with mode: 0644]
package/python-jaraco-functools/python-jaraco-functools.mk [new file with mode: 0644]

index faa468954805e174cc889dd4290e12ae29e87e23..96ce12e388ce059e42418ca591a7cf9ceb040dc3 100644 (file)
@@ -938,6 +938,7 @@ menu "External python modules"
        source "package/python-iso8601/Config.in"
        source "package/python-itsdangerous/Config.in"
        source "package/python-jaraco-classes/Config.in"
+       source "package/python-jaraco-functools/Config.in"
        source "package/python-jedi/Config.in"
        source "package/python-jinja2/Config.in"
        source "package/python-json-schema-validator/Config.in"
diff --git a/package/python-jaraco-functools/Config.in b/package/python-jaraco-functools/Config.in
new file mode 100644 (file)
index 0000000..e07c313
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS
+       bool "python-jaraco-functools"
+       select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime
+       select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \
+               if BR2_PACKAGE_PYTHON # runtime
+       help
+         Additional functools in the spirit of stdlib’s
+         functools.
+
+         https://github.com/jaraco/jaraco.functools
diff --git a/package/python-jaraco-functools/python-jaraco-functools.hash b/package/python-jaraco-functools/python-jaraco-functools.hash
new file mode 100644 (file)
index 0000000..051a39b
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/jaraco.functools/json
+md5     c245ade3e753bc556415f1fec102f232  jaraco.functools-2.0.tar.gz
+sha256  35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345  jaraco.functools-2.0.tar.gz
+# Locally computed sha256 checksums
+sha256  a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd  LICENSE
diff --git a/package/python-jaraco-functools/python-jaraco-functools.mk b/package/python-jaraco-functools/python-jaraco-functools.mk
new file mode 100644 (file)
index 0000000..f062063
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-jaraco-functools
+#
+################################################################################
+
+PYTHON_JARACO_FUNCTOOLS_VERSION = 2.0
+PYTHON_JARACO_FUNCTOOLS_SOURCE = jaraco.functools-$(PYTHON_JARACO_FUNCTOOLS_VERSION).tar.gz
+PYTHON_JARACO_FUNCTOOLS_SITE = https://files.pythonhosted.org/packages/a9/1e/44f6a5cffef147a3ffd37a748b8f4c2ded9b07ca20a15f17cd9874158f24
+PYTHON_JARACO_FUNCTOOLS_LICENSE = MIT
+PYTHON_JARACO_FUNCTOOLS_LICENSE_FILES = LICENSE
+PYTHON_JARACO_FUNCTOOLS_SETUP_TYPE = setuptools
+PYTHON_JARACO_FUNCTOOLS_DEPENDENCIES = host-python-setuptools-scm
+
+$(eval $(python-package))