gnu: dico: Use Python 3.

* gnu/packages/dico.scm (dico)[source]: Fix indentation.
[phases]: Delete trailing #t.
[inputs]: Use new style.  Replace python-2 with python-wrapper.
This commit is contained in:
Maxim Cournoyer 2022-05-13 13:20:16 -04:00
parent 08c19564c4
commit 2095589484
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3,6 +3,7 @@
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -59,23 +60,22 @@ (define-public dico
;; Guile is too talkative, which disturbs the test
;; infrastructure. Gag it.
(setenv "GUILE_AUTO_COMPILE" "0")
(setenv "GUILE_WARN_DEPRECATED" "no")
#t))
(setenv "GUILE_WARN_DEPRECATED" "no")))
(replace 'check
(lambda _
;; Test '71: append + dooffs + env' fails if $V is not 2.
(invoke "make" "check" "V=2"))))))
(native-inputs (list groff))
(inputs
`(("m4" ,m4) ;used at run time
("pcre" ,pcre)
("python" ,python-2)
("guile" ,guile-2.2)
("gsasl" ,gsasl)
("readline" ,readline)
("zlib" ,zlib)
("wordnet" ,wordnet)
("libltdl" ,libltdl)))
(list m4 ;used at run time
pcre
python-wrapper
guile-2.2
gsasl
readline
zlib
wordnet
libltdl))
(home-page "https://www.gnu.org/software/dico/")
(synopsis "Implementation of DICT server (RFC 2229)")
(description