kumquat-buildroot/package/python-keyring/python-keyring.mk
Fabio Porcedda ac9621d995 unzip: Use the "-q" option to silence unzipping of source files
Add and use the "UNZIP" variable instead of calling directly unzip
because the variable contains the "-q" option to silence "unzip" so it
doesn't show the list of files extracted just like when tar files are
being unpacked.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-02 22:48:50 +01:00

20 lines
672 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))