mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 07:43:32 +08:00
fba747ca43
[Thomas: convert to the Python package infrastructure, improved the .zip handling, added license informations.] Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
670 B
Makefile
20 lines
670 B
Makefile
################################################################################
|
|
#
|
|
# python-keyring
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_KEYRING_VERSION = 3.0.5
|
|
PYTHON_KEYRING_SOURCE = keyring-$(PYTHON_KEYRING_VERSION).zip
|
|
PYTHON_KEYRING_SITE = http://pypi.python.org/packages/source/k/keyring/
|
|
PYTHON_KEYRING_SETUP_TYPE = setuptools
|
|
PYTHON_KEYRING_LICENSE = python software foundation license
|
|
|
|
define PYTHON_KEYRING_EXTRACT_CMDS
|
|
unzip -d $(@D) $(DL_DIR)/$(PYTHON_KEYRING_SOURCE)
|
|
mv $(@D)/keyring-$(PYTHON_KEYRING_VERSION)/* $(@D)
|
|
$(RM) -r $(@D)/keyring-$(PYTHON_KEYRING_VERSION)
|
|
endef
|
|
|
|
$(eval $(python-package))
|