python-tempora: update to 2.0.0.

This commit is contained in:
Nathan Owens 2020-01-03 19:01:54 -06:00 committed by Juan RP
parent 59f6538525
commit be296827cb

View File

@ -1,11 +1,10 @@
# Template file for 'python-tempora' # Template file for 'python-tempora'
pkgname=python-tempora pkgname=python-tempora
version=1.14.1 version=2.0.0
revision=2 revision=1
archs=noarch archs=noarch
wrksrc="tempora-${version}" wrksrc="tempora-${version}"
build_style=python-module build_style=python-module
pycompile_module="tempora"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six python-pytz" depends="python-setuptools python-six python-pytz"
short_desc="Objects and routines pertaining to date and time (Python2)" short_desc="Objects and routines pertaining to date and time (Python2)"
@ -13,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/jaraco/tempora" homepage="https://github.com/jaraco/tempora"
distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz" distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
checksum=cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6 checksum=f11df59b34b9a87d395cce031274f6ff3d2be2171dd1db32dff9ab1fcb5352fa
alternatives="tempora:calc-prorate:/usr/bin/calc-prorate2" alternatives="tempora:calc-prorate:/usr/bin/calc-prorate2"
pre_build() { pre_build() {
@ -28,7 +27,6 @@ post_install() {
python3-tempora_package() { python3-tempora_package() {
archs=noarch archs=noarch
pycompile_module="tempora"
depends="python3-setuptools python3-six python3-pytz" depends="python3-setuptools python3-six python3-pytz"
alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3" alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"