gnu: emacs-ddskk: Update to 17.1.

* gnu/packages/emacs-xyz.scm (emacs-ddskk): Update to 17.1.
[arguments]: Add phase to fix tests.
[native-inputs]: Add ruby input for tests.
This commit is contained in:
Nicolas Goaziou 2021-02-06 14:31:00 +01:00
parent 8c2624fe49
commit 2a3c37f503
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -25917,8 +25917,8 @@ a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
(define-public emacs-ddskk (define-public emacs-ddskk
;; XXX: Upstream adds code names to their release tags, so version and code ;; XXX: Upstream adds code names to their release tags, so version and code
;; name below need to be updated together. ;; name below need to be updated together.
(let ((version "16.3") (let ((version "17.1")
(code-name "Kutomatsunai")) (code-name "Neppu"))
(package (package
(name "emacs-ddskk") (name "emacs-ddskk")
(version version) (version version)
@ -25930,7 +25930,7 @@ a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
(commit (string-append "ddskk-" version "_" code-name)))) (commit (string-append "ddskk-" version "_" code-name))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0ln4x8f35z5y3kf9m718g223bn3lzcmw40jfjg2j5yi24ydf1wm9")))) (base32 "0xm53rybxki2784gyjkafg6956viyhhcq51kbmnrwc6aw3yzh7aw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules ((guix build gnu-build-system) `(#:modules ((guix build gnu-build-system)
@ -25950,9 +25950,14 @@ a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
("SKK_PREFIX" "") ("SKK_PREFIX" "")
("SKK_INFODIR" '(expand-file-name "info" PREFIX))) ("SKK_INFODIR" '(expand-file-name "info" PREFIX)))
(for-each make-file-writable (find-files "./doc")) (for-each make-file-writable (find-files "./doc"))
#t))))) #t))
(add-after 'unpack 'fix-test
(lambda _
(substitute* "Makefile"
(("/bin/rm") (which "rm"))))))))
(native-inputs (native-inputs
`(("emacs-minimal" ,emacs-minimal))) `(("emacs-minimal" ,emacs-minimal)
("ruby" ,ruby)))
(home-page "https://github.com/skk-dev/ddskk") (home-page "https://github.com/skk-dev/ddskk")
(synopsis "Simple Kana to Kanji conversion program") (synopsis "Simple Kana to Kanji conversion program")
(description (description