gnu: pspp: Update to 2.0.0.

* gnu/packages/statistics.scm (pspp): Update to 2.0.0
  [arguments](phases): Patch test case to make pass due to locale
  [native-inputs]: Switch from Python 2 to Python 3

Change-Id: I9feeab72789347033d2df8f23bda9ea27aaa7dd9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Andy Tai 2024-02-25 15:45:54 -08:00 committed by Ludovic Courtès
parent dcdc0a5592
commit ce5f756375
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 3 deletions

View File

@ -115,7 +115,7 @@
(define-public pspp (define-public pspp
(package (package
(name "pspp") (name "pspp")
(version "1.4.1") (version "2.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -123,11 +123,16 @@
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan")))) "1pyqlab9kw65wxc8pilcwb64l18w37xxdg3r6n287c7mda4cpxm8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-test-suite
(lambda _
(substitute* "tests/output/tex.at"
(("AT_CHECK\\(\\[LC_ALL=C.UTF-8 pspp")
"AT_CHECK([LC_ALL=en_US.UTF-8 pspp"))))
(add-before 'check 'prepare-tests (add-before 'check 'prepare-tests
;; Prevent irrelevant errors that cause test output mismatches: ;; Prevent irrelevant errors that cause test output mismatches:
;; Fontconfig error: No writable cache directories ;; Fontconfig error: No writable cache directories
@ -149,7 +154,7 @@
`(,glib "bin") ;for glib-genmarshal `(,glib "bin") ;for glib-genmarshal
perl perl
pkg-config pkg-config
python-2 ;for tests python-3 ;for tests
texinfo)) texinfo))
(home-page "https://www.gnu.org/software/pspp/") (home-page "https://www.gnu.org/software/pspp/")
(synopsis "Statistical analysis") (synopsis "Statistical analysis")