kumquat-buildroot/package/python-pytz/python-pytz.mk
Yegor Yefremov a855461cd8 python-pytz: bump to version 2017.3
Add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-12-07 22:32:52 +01:00

21 lines
685 B
Makefile

################################################################################
#
# python-pytz
#
################################################################################
PYTHON_PYTZ_VERSION = 2017.3
PYTHON_PYTZ_SOURCE = pytz-$(PYTHON_PYTZ_VERSION).zip
PYTHON_PYTZ_SITE = https://pypi.python.org/packages/60/88/d3152c234da4b2a1f7a989f89609ea488225eaea015bc16fbde2b3fdfefa
PYTHON_PYTZ_SETUP_TYPE = setuptools
PYTHON_PYTZ_LICENSE = MIT
PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt
define PYTHON_PYTZ_EXTRACT_CMDS
unzip $(DL_DIR)/$(PYTHON_PYTZ_SOURCE) -d $(@D)
mv $(@D)/pytz-$(PYTHON_PYTZ_VERSION)/* $(@D)
rmdir $(@D)/pytz-$(PYTHON_PYTZ_VERSION)
endef
$(eval $(python-package))