python-pytz: update to 2020.5.
This commit is contained in:
parent
08d0eb662b
commit
b7c7388f48
|
@ -1,17 +1,23 @@
|
||||||
# Template file for 'python-pytz'
|
# Template file for 'python-pytz'
|
||||||
pkgname=python-pytz
|
pkgname=python-pytz
|
||||||
version=2020.4
|
version=2020.5
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pytz-${version}"
|
wrksrc="pytz-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python tzdata"
|
depends="python tzdata"
|
||||||
|
checkdepends="python-pytest python3-pytest tzdata"
|
||||||
short_desc="Python2 timezone library"
|
short_desc="Python2 timezone library"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://pythonhosted.org/pytz/"
|
homepage="https://pythonhosted.org/pytz/"
|
||||||
distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
|
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() {
|
post_install() {
|
||||||
# use system tz database
|
# use system tz database
|
||||||
|
|
Loading…
Reference in New Issue