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

Khem Raj raj.khem at gmail.com
Fri Mar 31 17:08:11 UTC 2017



On 3/31/17 4:10 AM, Dmitry Rozhkov wrote:
> 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.
> 

right. Looks ok.

> 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"
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170331/ae4399c3/attachment-0002.sig>


More information about the Openembedded-devel mailing list