grammalecte: 0.5.17.2 -> 0.5.18 (#28510)
This commit is contained in:
parent
65e4856058
commit
a65a499ca2
|
@ -7,17 +7,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "grammalecte";
|
pname = "grammalecte";
|
||||||
version = "0.5.17.2";
|
version = "0.5.18";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
||||||
sha256 = "1g5i978cdz14rfdi4z2ayb2c1rf8cq991slwsv0krhpvl9ripl9c";
|
sha256 = "0izfsqsj8w4awhmwmn4x8wwpqsmqbnfvfafzk93i6yj0l3fn3i97";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ bottle ];
|
propagatedBuildInputs = [ bottle ];
|
||||||
|
|
||||||
patches = [ ./spellchecker.patch ];
|
|
||||||
preBuild = "cd ..";
|
preBuild = "cd ..";
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/spellchecker.py b/spellchecker.py
|
|
||||||
index 37ac0ea..a60b3a9 100644
|
|
||||||
--- a/spellchecker.py
|
|
||||||
+++ b/spellchecker.py
|
|
||||||
@@ -2,7 +2,7 @@
|
|
||||||
# Wrapper for the IBDAWG class.
|
|
||||||
# Useful to check several dictionaries at once.
|
|
||||||
|
|
||||||
-import ibdawg
|
|
||||||
+from grammalecte import ibdawg
|
|
||||||
|
|
||||||
|
|
||||||
dDictionaries = {
|
|
Loading…
Reference in New Issue