From 8bcfaa71e035b6a1f89d5da5eb3c27850eb5ae45 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 21 Jan 2022 20:56:56 +0100 Subject: 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 --- recipes-support/opencv/opencv_4.5.2.imx.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-54-g00ecf