grammalecte: 0.5.17.2 -> 0.5.18 (#28510)

This commit is contained in:
Alexandre Peyroux 2017-08-23 21:47:47 +02:00 committed by Joachim F
parent 65e4856058
commit a65a499ca2
2 changed files with 2 additions and 16 deletions

View file

@ -7,17 +7,16 @@
buildPythonPackage rec {
pname = "grammalecte";
version = "0.5.17.2";
version = "0.5.18";
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
sha256 = "1g5i978cdz14rfdi4z2ayb2c1rf8cq991slwsv0krhpvl9ripl9c";
sha256 = "0izfsqsj8w4awhmwmn4x8wwpqsmqbnfvfafzk93i6yj0l3fn3i97";
};
propagatedBuildInputs = [ bottle ];
patches = [ ./spellchecker.patch ];
preBuild = "cd ..";
postInstall = ''
mkdir $out/bin

View file

@ -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 = {