mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
gnu: python-elementpath: Use libc-utf-8-locales.
* gnu/packages/xml.scm (python-elementpath):
[phases]{set-locales phase}: Remove phase.
[native-inputs]: Replace glibc-locales with
libc-utf8-locales-for-target.
Merges: https://codeberg.org/guix/guix/pulls/7189
Change-Id: Id89952c65ff644e5fb51dd7c0e0bf6c4791e4e3f
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
@@ -1940,16 +1940,9 @@ The central program included in this package is @code{onsgmls}, which replaces
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-backend #~'unittest
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; 10 tests fail with: locale.Error: unsupported locale setting.
|
||||
(add-before 'check 'set-locales
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "GUIX_LOCPATH"
|
||||
(search-input-directory inputs "lib/locale")))))))
|
||||
#:test-backend #~'unittest))
|
||||
(native-inputs
|
||||
(list glibc-locales
|
||||
(list (libc-utf8-locales-for-target (%current-system))
|
||||
python-setuptools
|
||||
python-lxml
|
||||
python-xmlschema-bootstrap))
|
||||
|
||||
Reference in New Issue
Block a user