[arch-commits] Commit in khal/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Feb 5 22:51:05 UTC 2018
Date: Monday, February 5, 2018 @ 22:51:04
Author: dvzrv
Revision: 289315
upgpkg: khal 0.9.8-2
Adding khal 0.9.8 from AUR (and fixing tests).
Modified:
khal/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-05 22:50:26 UTC (rev 289314)
+++ PKGBUILD 2018-02-05 22:51:04 UTC (rev 289315)
@@ -38,7 +38,13 @@
check() {
cd "${pkgname}-${pkgver}"
- py.test
+ # When using a clean chroot,
+ # one has to choose a proper locale to run the tests
+ if [ "${LANG}" == "C" ]; then
+ LANG=$(locale -a | grep utf8 | head -n1) py.test
+ else
+ py.test
+ fi
}
package() {
More information about the arch-commits
mailing list