From 2cc267e07a34737982184433c6cd13ede9551175 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 8 Apr 2018 09:13:53 +0200 Subject: gnu: grammalecte: Update to 0.6.3.1. * gnu/packages/dictionaries.scm (grammalecte): Update to 0.6.3.1. --- gnu/packages/dictionaries.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/dictionaries.scm') diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 85979ba096..d7874936ee 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -213,7 +213,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (define-public grammalecte (package (name "grammalecte") - (version "0.6.2") + (version "0.6.3.1") (source (origin (method url-fetch/zipbomb) @@ -221,7 +221,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") "Grammalecte-fr-v" version ".zip")) (sha256 (base32 - "0pvblclvbxbfgmq0cvmpmzpf6bi6r41arndwprl7ab9kci9hi8j2")))) + "0jlzrhpx9qvjdq679w188p86x09yfjf3l0h4scjl9w26yyp53gr8")))) (build-system python-build-system) (home-page "https://www.dicollecte.org") (synopsis "French spelling and grammar checker") -- cgit v1.2.3 From 8f3448f6374d287b01b021df3e7e43ec5101f9a7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 8 Apr 2018 16:18:18 +0200 Subject: gnu: grammalecte: Fix build. * gnu/packages/dictionaries.scm (grammalecte)[arguments]: Add phase to fix build script. --- gnu/packages/dictionaries.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu/packages/dictionaries.scm') diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index d7874936ee..965002a94d 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -223,6 +223,19 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (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: + ;; + (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 -- cgit v1.2.3