python-pytz: update to 2020.5.

This commit is contained in:
Andrew J. Hesford 2020-12-29 09:56:59 -05:00
parent 08d0eb662b
commit b7c7388f48
1 changed files with 8 additions and 2 deletions

View File

@ -1,17 +1,23 @@
# Template file for 'python-pytz'
pkgname=python-pytz
version=2020.4
version=2020.5
revision=1
wrksrc="pytz-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python tzdata"
checkdepends="python-pytest python3-pytest tzdata"
short_desc="Python2 timezone library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://pythonhosted.org/pytz/"
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
checksum=3e6b7dd2d1e0a59084bcee14a17af60c5c562cdc16d828e8eba2e683d3a7e268
checksum=180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5
do_check() {
PYTHONPATH=build-2.7/lib python2 -m pytest
PYTHONPATh=build-${py3_ver}/lib python3 -m pytest
}
post_install() {
# use system tz database