package: add python-functools32

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>
This commit is contained in:
Peter Korsgaard
2018-03-09 20:16:59 +01:00
parent 7096961385
commit 146b8d31ea
5 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
################################################################################
#
# 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))