Merge pull request #19405 from Mic92/whoosh
whoosh: fix test & remove duplicate package.
This commit is contained in:
commit
b48bfa4061
@ -21618,27 +21618,6 @@ in modules // {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
Whoosh = buildPythonPackage rec {
|
|
||||||
name = "Whoosh-${version}";
|
|
||||||
version = "2.7.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/W/Whoosh/Whoosh-${version}.tar.gz";
|
|
||||||
sha256 = "1xx8rqk1v2xs7mxvy9q4sgz2qmgvhf6ygbqjng3pl83ka4f0xz6d";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
|
|
||||||
];
|
|
||||||
buildInputs = with self; [
|
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "http://bitbucket.org/mchaput/whoosh";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pysolr = buildPythonPackage rec {
|
pysolr = buildPythonPackage rec {
|
||||||
name = "pysolr-${version}";
|
name = "pysolr-${version}";
|
||||||
version = "3.3.3";
|
version = "3.3.3";
|
||||||
@ -21674,7 +21653,7 @@ in modules // {
|
|||||||
|
|
||||||
buildInputs = with self; [ coverage mock nose geopy ];
|
buildInputs = with self; [ coverage mock nose geopy ];
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
django_1_6 dateutil_1_5 Whoosh pysolr elasticsearch
|
django_1_6 dateutil_1_5 whoosh pysolr elasticsearch
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -30678,8 +30657,8 @@ in modules // {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm tests/test_reading.py
|
rm tests/test_reading.py
|
||||||
'';
|
'';
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test -k "not test_timelimit"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user