From a53921453226dba1bac7c31a08c44736c5f64dd8 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 6 Dec 2020 10:35:20 -0600 Subject: [PATCH] python3-tempora: update to 4.0.1. --- srcpkgs/python3-tempora/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-tempora/template b/srcpkgs/python3-tempora/template index fac5a88deff..98a0fa49ce0 100644 --- a/srcpkgs/python3-tempora/template +++ b/srcpkgs/python3-tempora/template @@ -1,19 +1,24 @@ # Template file for 'python3-tempora' pkgname=python3-tempora -version=4.0.0 +version=4.0.1 revision=1 wrksrc="tempora-${version}" build_style=python3-module hostmakedepends="python3-setuptools_scm python3-toml" depends="python3-setuptools python3-six python3-pytz" +checkdepends="tox" short_desc="Objects and routines pertaining to date and time (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/jaraco/tempora" distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz" -checksum=599a3a910b377f2b544c7b221582ecf4cb049b017c994b37f2b1a9ed1099716e +checksum=9af06854fafb26d3d40d3dd6402e8baefaf57f90e48fdc9a94f6b22827a60fb3 alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3" +do_check() { + tox -c tox.ini +} + post_install() { vlicense LICENSE mv "${DESTDIR}/usr/bin/calc-prorate" "${DESTDIR}/usr/bin/calc-prorate3"