mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-01 01:13:29 +08:00
4c5688cfc6
Add 'simplegeneric'[1] package to Buildroot. Needed by IPython. [1] https://pypi.python.org/pypi/simplegeneric Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> [Thomas: add entry in DEVELOPERS file, fix license.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
773 B
Makefile
20 lines
773 B
Makefile
################################################################################
|
|
#
|
|
# python-simplegeneric
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
|
|
PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
|
|
PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
|
|
PYTHON_SIMPLEGENERIC_LICENSE = ZPL-2.1
|
|
PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
|
|
|
|
define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
|
|
unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
|
|
mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
|
|
rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
|
|
endef
|
|
|
|
$(eval $(python-package))
|