[oe] [meta-oe][PATCH] opencv: remove redundant build dependency on python2

Dmitry Rozhkov dmitry.rozhkov at linux.intel.com
Fri Mar 31 11:10:32 UTC 2017


The recipe opencv_3.2.bb inherits to either distutils-base or
distutils3-base classes or both which do add appropriate
build dependency on python or python3 respectively.
There's no need to have python in DEPENDS explicitly.

It can even make things needlessly complicated in case a user
wants to build python3-only images.

The redundant build dependency on python is removed from DEPENDS.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov at linux.intel.com>
---
 meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb b/meta-oe/recipes-support/opencv/opencv_3.2.bb
index f47347a..f50bc05 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2b2f8752cc5edf504d283107d033f544"
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 
-DEPENDS = "libtool swig swig-native python bzip2 zlib glib-2.0 libwebp"
+DEPENDS = "libtool swig swig-native bzip2 zlib glib-2.0 libwebp"
 
 SRCREV_opencv = "70bbf17b133496bd7d54d034b0f94bd869e0e810"
 SRCREV_contrib = "86342522b0eb2b16fa851c020cc4e0fef4e010b7"
-- 
2.9.3




More information about the Openembedded-devel mailing list