dev-python/Babel: export TZ=UTC to work around buggy test code
authorMike Gilbert <floppym@gentoo.org>
Sun, 14 May 2017 21:01:17 +0000 (17:01 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 14 May 2017 21:02:24 +0000 (17:02 -0400)
Bug: https://bugs.gentoo.org/618448
Package-Manager: Portage-2.3.5_p32, Repoman-2.3.2_p62

dev-python/Babel/Babel-2.3.4.ebuild

index dc2ed315dbf33037e403649464fb4f7cf010e111..a7cc27cafdfe0e00b40e7b3f4772e4aefcd06aae 100644 (file)
@@ -35,7 +35,8 @@ python_prepare_all() {
 python_test() {
        # Create implementation-specific datadir for tests.
        cp -R -l tests/messages/data "${BUILD_DIR}"/ || die
-       export BUILD_DIR
+       # https://bugs.gentoo.org/show_bug.cgi?id=618448
+       export TZ=UTC
        py.test || die
 }