Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
F: package/python-docker-pycreds/
F: package/python-enum/
F: package/python-enum34/
+F: package/python-functools32/
F: package/python-ipaddr/
F: package/python-pam/
F: package/python-psutil/
source "package/python-flask-login/Config.in"
source "package/python-flask-sqlalchemy/Config.in"
source "package/python-flup/Config.in"
+ source "package/python-functools32/Config.in"
source "package/python-futures/Config.in"
source "package/python-gobject/Config.in"
source "package/python-gunicorn/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_FUNCTOOLS32
+ bool "python-functools32"
+ depends on BR2_PACKAGE_PYTHON
+ help
+ Backport of the functools module from Python 3.2.3 for use on 2.7
+ and PyPy.
+
+ https://github.com/MiCHiLU/python-functools32
--- /dev/null
+# md5 from https://pypi.python.org/pypi/functools32/json, sha256 locally computed
+md5 09f24ffd9af9f6cd0f63cb9f4e23d4b2 functools32-3.2.3-2.tar.gz
+sha256 f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d functools32-3.2.3-2.tar.gz
+sha256 3f9ea6b89abe1556b72aff67b987d64c8272564815cd6a2832e6c4f6abdfe3b1 LICENSE
--- /dev/null
+################################################################################
+#
+# python-functools32
+#
+################################################################################
+
+PYTHON_FUNCTOOLS32_VERSION = 3.2.3-2
+PYTHON_FUNCTOOLS32_SOURCE = functools32-$(PYTHON_FUNCTOOLS32_VERSION).tar.gz
+PYTHON_FUNCTOOLS32_SITE = https://pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db
+PYTHON_FUNCTOOLS32_SETUP_TYPE = distutils
+PYTHON_FUNCTOOLS32_LICENSE = Python-2.0
+PYTHON_FUNCTOOLS32_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))