python-pytz: bump to version 2018.5

Update license hash: change was a year bump.
Remove zip extraction logic since now the package is provided as tar.gz.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.11.x
Asaf Kahlon 2018-09-11 17:58:22 +03:00 committed by Thomas Petazzoni
parent bfc27b0f60
commit 193c85780b
2 changed files with 8 additions and 13 deletions

View File

@ -1,4 +1,5 @@
# md5 from https://pypi.python.org/pypi/pytz/json, sha256 locally computed
md5 7006b56c0d68a162d9fe57d4249c3171 pytz-2017.3.zip
sha256 fae4cffc040921b8a2d60c6cf0b5d662c1190fe54d718271db4eb17d44a185b7 pytz-2017.3.zip
sha256 a1c7102a51ef9ed37766f7388c71fd41bae2a7a95c30673c419ab84e1acc5f02 LICENSE.txt
# md5, sha256 from https://pypi.org/pypi/pytz/json
md5 45409cbfa3927bdd2f3ee914dd5b1060 pytz-2018.5.tar.gz
sha256 ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277 pytz-2018.5.tar.gz
# Locally computed sha256 checksums
sha256 39f07c72a1bfda349cbd27bac9bcb1e6f8c5b4e5cc3fadf56900406e8cc0b792 LICENSE.txt

View File

@ -4,17 +4,11 @@
#
################################################################################
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_VERSION = 2018.5
PYTHON_PYTZ_SOURCE = pytz-$(PYTHON_PYTZ_VERSION).tar.gz
PYTHON_PYTZ_SITE = https://files.pythonhosted.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44
PYTHON_PYTZ_SETUP_TYPE = setuptools
PYTHON_PYTZ_LICENSE = MIT
PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt
define PYTHON_PYTZ_EXTRACT_CMDS
unzip $(PYTHON_PYTZ_DL_DIR)/$(PYTHON_PYTZ_SOURCE) -d $(@D)
mv $(@D)/pytz-$(PYTHON_PYTZ_VERSION)/* $(@D)
rmdir $(@D)/pytz-$(PYTHON_PYTZ_VERSION)
endef
$(eval $(python-package))