[arch-commits] Commit in todoman/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jun 14 21:36:13 UTC 2020
Date: Sunday, June 14, 2020 @ 21:36:12
Author: dvzrv
Revision: 644725
upgpkg: todoman 3.8.0-2: Fixing misbehaving tests by running with UTC timezone.
Modified:
todoman/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-14 21:31:11 UTC (rev 644724)
+++ PKGBUILD 2020-06-14 21:36:12 UTC (rev 644725)
@@ -2,7 +2,7 @@
pkgname=todoman
pkgver=3.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
arch=('any')
url="https://github.com/pimutils/todoman"
@@ -33,8 +33,9 @@
check() {
cd "$pkgname-$pkgver"
export PYTHONPATH="build:${PYTHONPATH}"
- # ignoring broken tests: https://github.com/pimutils/todoman/issues/404
- pytest -v -k 'not test_default_due2 and not test_parse_datetime and not test_list_due_date'
+ # tests require timezone to be set to UTC
+ # https://github.com/pimutils/todoman/issues/404
+ TZ="UTC" pytest -v
}
package() {
More information about the arch-commits
mailing list