python-pytz: update to 2020.1.

This commit is contained in:
Kartik Singh 2020-09-13 19:00:38 +05:30 committed by Andrew J. Hesford
parent dc51334e67
commit 162fcd65b6

View file

@ -1,11 +1,9 @@
# Template file for 'python-pytz'
pkgname=python-pytz
version=2019.3
revision=2
archs=noarch
version=2020.1
revision=1
wrksrc="pytz-${version}"
build_style=python-module
pycompile_module="pytz"
hostmakedepends="python-setuptools python3-setuptools"
depends="python tzdata"
short_desc="Python2 timezone library"
@ -13,7 +11,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://pythonhosted.org/pytz/"
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
checksum=b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be
checksum=c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048
post_install() {
# use system tz database
@ -25,9 +23,7 @@ post_install() {
}
python3-pytz_package() {
archs=noarch
depends="python3 tzdata"
pycompile_module="pytz"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*