From: Max Krummenacher Date: Fri, 21 Jan 2022 19:56:56 +0000 (+0100) Subject: opencv: imx: prevent warning about distutils X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8bcfaa71e035b6a1f89d5da5eb3c27850eb5ae45;p=meta-freescale.git opencv: imx: prevent warning about distutils Merge latest opencv recipe in meta-openembedded. Prevents: | WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead Signed-off-by: Max Krummenacher --- diff --git a/recipes-support/opencv/opencv_4.5.2.imx.bb b/recipes-support/opencv/opencv_4.5.2.imx.bb index f84e29d7..df277d0e 100644 --- a/recipes-support/opencv/opencv_4.5.2.imx.bb +++ b/recipes-support/opencv/opencv_4.5.2.imx.bb @@ -147,7 +147,7 @@ PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," inherit pkgconfig cmake -inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'distutils3-base', '', d)} +inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'setuptools3-base', '', d)} inherit ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'distutils-base', '', d)} export PYTHON_CSPEC="-I${STAGING_INCDIR}/${PYTHON_DIR}"