![Fabio Porcedda](/assets/img/avatar_default.png)
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>
20 lines
672 B
Makefile
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))
|