2016-06-08 15:25:29 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-pytz
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-12-07 09:20:17 +01:00
|
|
|
PYTHON_PYTZ_VERSION = 2017.3
|
|
|
|
PYTHON_PYTZ_SOURCE = pytz-$(PYTHON_PYTZ_VERSION).zip
|
|
|
|
PYTHON_PYTZ_SITE = https://pypi.python.org/packages/60/88/d3152c234da4b2a1f7a989f89609ea488225eaea015bc16fbde2b3fdfefa
|
2016-06-08 15:25:29 +02:00
|
|
|
PYTHON_PYTZ_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_PYTZ_LICENSE = MIT
|
|
|
|
PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt
|
|
|
|
|
2017-12-07 09:20:17 +01:00
|
|
|
define PYTHON_PYTZ_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
unzip $(PYTHON_PYTZ_DL_DIR)/$(PYTHON_PYTZ_SOURCE) -d $(@D)
|
2017-12-07 09:20:17 +01:00
|
|
|
mv $(@D)/pytz-$(PYTHON_PYTZ_VERSION)/* $(@D)
|
|
|
|
rmdir $(@D)/pytz-$(PYTHON_PYTZ_VERSION)
|
|
|
|
endef
|
|
|
|
|
2016-06-08 15:25:29 +02:00
|
|
|
$(eval $(python-package))
|