* [Buildroot] [PATCH 1/1] package/opencv4: replace PKG_PYTHON_DISTUTILS_ENV
@ 2024-02-11 18:38 Fabrice Fontaine
2024-02-11 21:37 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-02-11 18:38 UTC (permalink / raw)
To: buildroot; +Cc: Woodrow Douglass, Fabrice Fontaine
Replace PKG_PYTHON_DISTUTILS_ENV by PKG_PYTHON_SETUPTOOLS_ENV
to avoid an issue with naming of python modules since commit
09de823cbc7bd50a40e25f4166b4e42be94b0c7b
Fixes: 09de823cbc7bd50a40e25f4166b4e42be94b0c7b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/opencv4/opencv4.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk
index b535761cb2..e50e0f99a9 100644
--- a/package/opencv4/opencv4.mk
+++ b/package/opencv4/opencv4.mk
@@ -410,7 +410,7 @@ OPENCV4_CONF_OPTS += \
-DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)
OPENCV4_DEPENDENCIES += python3
OPENCV4_KEEP_PY_FILES += usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/cv2/config*.py
-OPENCV4_CONF_ENV += $(PKG_PYTHON_DISTUTILS_ENV)
+OPENCV4_CONF_ENV += $(PKG_PYTHON_SETUPTOOLS_ENV)
OPENCV4_DEPENDENCIES += python-numpy
else
OPENCV4_CONF_OPTS += \
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/opencv4: replace PKG_PYTHON_DISTUTILS_ENV
2024-02-11 18:38 [Buildroot] [PATCH 1/1] package/opencv4: replace PKG_PYTHON_DISTUTILS_ENV Fabrice Fontaine
@ 2024-02-11 21:37 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-02-11 21:37 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Woodrow Douglass, buildroot
On Sun, 11 Feb 2024 19:38:13 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Replace PKG_PYTHON_DISTUTILS_ENV by PKG_PYTHON_SETUPTOOLS_ENV
> to avoid an issue with naming of python modules since commit
> 09de823cbc7bd50a40e25f4166b4e42be94b0c7b
>
> Fixes: 09de823cbc7bd50a40e25f4166b4e42be94b0c7b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/opencv4/opencv4.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-11 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 18:38 [Buildroot] [PATCH 1/1] package/opencv4: replace PKG_PYTHON_DISTUTILS_ENV Fabrice Fontaine
2024-02-11 21:37 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox