kumquat-buildroot/package/python-keyring/python-keyring.mk
Ludovic Desroches fba747ca43 python-keyring: new package
[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>
2013-12-15 13:41:33 +01:00

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))