python3Packages.bbox: fix build
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
@@ -29,6 +29,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace bbox/metrics.py \
|
||||
--replace-warn round_ round
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyquaternion
|
||||
numpy
|
||||
@@ -46,6 +51,8 @@ buildPythonPackage rec {
|
||||
"test_multi_jaccard_index_2d_performance"
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "numpy" ];
|
||||
|
||||
pythonImportsCheck = [ "bbox" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user