From: Alexander Smorkalov Date: Fri, 30 Jan 2015 09:26:08 +0000 (+0300) Subject: Added dependency from numpy to debian package with python bindings. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~295^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be6b8476750e1aefe21c9775b0b732b497e2d4bd;p=platform%2Fupstream%2Fopencv.git Added dependency from numpy to debian package with python bindings. --- diff --git a/cmake/OpenCVPackaging.cmake b/cmake/OpenCVPackaging.cmake index 3d63c09..cf2faee 100644 --- a/cmake/OpenCVPackaging.cmake +++ b/cmake/OpenCVPackaging.cmake @@ -69,10 +69,10 @@ set(CPACK_COMPONENT_dev_DEPENDS libs) set(CPACK_COMPONENT_docs_DEPENDS libs) set(CPACK_COMPONENT_java_DEPENDS libs) set(CPACK_COMPONENT_python_DEPENDS libs) -set(CPACK_DEB_python_PACKAGE_DEPENDS "python${PYTHON_VERSION_MAJOR_MINOR}") +set(CPACK_DEB_python_PACKAGE_DEPENDS "python-numpy (>=${PYTHON_NUMPY_VERSION}), python${PYTHON_VERSION_MAJOR_MINOR}") set(CPACK_COMPONENT_tests_DEPENDS libs) if (HAVE_opencv_python) - set(CPACK_DEB_tests_PACKAGE_DEPENDS "python${PYTHON_VERSION_MAJOR_MINOR}, python-py | python-pytest") + set(CPACK_DEB_tests_PACKAGE_DEPENDS "python-numpy (>=${PYTHON_NUMPY_VERSION}), python${PYTHON_VERSION_MAJOR_MINOR}, python-py | python-pytest") endif() if(HAVE_CUDA)