python3Packages.django-haystack: 3.2.1 -> 3.3.0
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
# tests
|
||||
elasticsearch,
|
||||
geopy,
|
||||
nose,
|
||||
pysolr,
|
||||
python-dateutil,
|
||||
requests,
|
||||
@@ -23,42 +22,36 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-haystack";
|
||||
version = "3.2.1";
|
||||
version = "3.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-l+MZeu/CJf5AW28XYAolNL+CfLTWdDEwwgvBoG9yk6Q=";
|
||||
pname = "django_haystack";
|
||||
inherit version;
|
||||
hash = "sha256-487ta4AAYl2hTUCetNrGmJSQXirIrBj5v9tZMjygLqs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "geopy==" "geopy>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [ django ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
elasticsearch = [ elasticsearch ];
|
||||
};
|
||||
|
||||
doCheck = lib.versionOlder django.version "4";
|
||||
|
||||
nativeCheckInputs = [
|
||||
geopy
|
||||
nose
|
||||
pysolr
|
||||
python-dateutil
|
||||
requests
|
||||
whoosh
|
||||
] ++ passthru.optional-dependencies.elasticsearch;
|
||||
] ++ optional-dependencies.elasticsearch;
|
||||
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
Reference in New Issue
Block a user