python312Packages.rapidocr-onnxruntime: use opencv-python
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
setuptools,
|
||||
pyclipper,
|
||||
opencv4,
|
||||
opencv-python,
|
||||
numpy,
|
||||
six,
|
||||
shapely,
|
||||
@@ -90,7 +90,7 @@ buildPythonPackage {
|
||||
|
||||
dependencies = [
|
||||
pyclipper
|
||||
opencv4
|
||||
opencv-python
|
||||
numpy
|
||||
six
|
||||
shapely
|
||||
@@ -99,9 +99,6 @@ buildPythonPackage {
|
||||
onnxruntime
|
||||
];
|
||||
|
||||
# Remove because we have adopted the `opencv4` as an attribute name.
|
||||
pythonRemoveDeps = [ "opencv-python" ];
|
||||
|
||||
pythonImportsCheck = [ "rapidocr_onnxruntime" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
Reference in New Issue
Block a user