python-pytz: update to 2020.1.
This commit is contained in:
parent
dc51334e67
commit
162fcd65b6
1 changed files with 3 additions and 7 deletions
|
@ -1,11 +1,9 @@
|
||||||
# Template file for 'python-pytz'
|
# Template file for 'python-pytz'
|
||||||
pkgname=python-pytz
|
pkgname=python-pytz
|
||||||
version=2019.3
|
version=2020.1
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
|
||||||
wrksrc="pytz-${version}"
|
wrksrc="pytz-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="pytz"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python tzdata"
|
depends="python tzdata"
|
||||||
short_desc="Python2 timezone library"
|
short_desc="Python2 timezone library"
|
||||||
|
@ -13,7 +11,7 @@ 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=b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be
|
checksum=c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# use system tz database
|
# use system tz database
|
||||||
|
@ -25,9 +23,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pytz_package() {
|
python3-pytz_package() {
|
||||||
archs=noarch
|
|
||||||
depends="python3 tzdata"
|
depends="python3 tzdata"
|
||||||
pycompile_module="pytz"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue