summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-02-17 07:09:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-02-19 01:20:39 +0100
commitdc027d401471955a3edd17cdd810357c6c01ca41 (patch)
tree3b914a90bdc4bd9195a3c8103e8877491840ad3b /gnu
parent4d25c486a5565e2b3fed1be53bc8b8278204f86e (diff)
downloadpatches-dc027d401471955a3edd17cdd810357c6c01ca41.tar
patches-dc027d401471955a3edd17cdd810357c6c01ca41.tar.gz
gnu: python-pyicu: Fix build.
* gnu/packages/python.scm (python-pyicu, python2-pyicu)[arguments]: New field. Add phase to delete locale-dependent test.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2bf5f73da..8353ca178f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1288,6 +1288,15 @@ Python 3.3+.")
(base32
"16rmxy9y0qhqqna2v49i7nzwm09as699rbyvh4raw7w602w55c3k"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'delete-failing-test
+ (lambda _
+ ;; XXX: These tests require locales that are unavailable
+ ;; in the build environment.
+ (delete-file "test/test_DateTimeParserGenerator.py")
+ #t)))))
(inputs
`(("icu4c" ,icu4c)))
(home-page "http://pyicu.osafoundation.org/")