mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: grammalecte: Fix build.
* gnu/packages/dictionaries.scm (grammalecte)[arguments]: Add phase to fix build script.
This commit is contained in:
parent
2cc267e07a
commit
8f3448f637
1 changed files with 13 additions and 0 deletions
|
@ -223,6 +223,19 @@ (define-public grammalecte
|
|||
(base32
|
||||
"0jlzrhpx9qvjdq679w188p86x09yfjf3l0h4scjl9w26yyp53gr8"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-setup
|
||||
;; Fix typos in "setup.py". In particular, add the new
|
||||
;; "graphspell" module introduced in 0.6.2. Reported upstream:
|
||||
;; <https://www.dicollecte.org/thread.php?prj=fr&t=709>
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("packages=\\['grammalecte', 'grammalecte.fr'\\],")
|
||||
"packages=['grammalecte', 'grammalecte.fr', 'grammalecte.graphspell'],")
|
||||
(("_dictionaries/French.bdic") "graphspell/_dictionaries/fr.bdic"))
|
||||
#t)))))
|
||||
(home-page "https://www.dicollecte.org")
|
||||
(synopsis "French spelling and grammar checker")
|
||||
(description "Grammalecte is a grammar checker dedicated to the French
|
||||
|
|
Loading…
Reference in a new issue