python313Packages.django-cachalot: fix build (#386545)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
django,
|
||||
django-debug-toolbar,
|
||||
psycopg2,
|
||||
jinja2,
|
||||
beautifulsoup4,
|
||||
python,
|
||||
pytz,
|
||||
@@ -34,11 +35,20 @@ buildPythonPackage rec {
|
||||
beautifulsoup4
|
||||
django-debug-toolbar
|
||||
psycopg2
|
||||
jinja2
|
||||
pytz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cachalot" ];
|
||||
|
||||
# disable broken pinning test
|
||||
preCheck = ''
|
||||
substituteInPlace cachalot/tests/read.py \
|
||||
--replace-fail \
|
||||
"def test_explain(" \
|
||||
"def _test_explain("
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} runtests.py
|
||||
|
||||
Reference in New Issue
Block a user