Skip to contentSkip to conversation

package/libiio: fix python build

PATCH Applied Fabrice Fontaine 2 participants 2 messages Sep 5, 2021 – Sep 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libiio: fix python build

python bindings needs setuptools since bump to version 0.23 in commit 50b6d7d69f880e940d7c281c493a6a6694d6ebe3 and
https://github.com/analogdevicesinc/libiio/commit/21023a538b125dee966bf496dcad019ee20967bd

Fixes:
- http://autobuild.buildroot.org/results/a26cce9760c75c44ebdcf21dfb4a69aad5702de4

---
 package/libiio/libiio.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/libiio/libiio.mk +2 -2
index aec251e9a1..8c2e126592 100644
@@ -71,9 +71,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y)
 ifeq ($(BR2_PACKAGE_PYTHON),y)
-LIBIIO_DEPENDENCIES += python
+LIBIIO_DEPENDENCIES += host-python-setuptools python
 else ifeq ($(BR2_PACKAGE_PYTHON3),y)
-LIBIIO_DEPENDENCIES += python3
+LIBIIO_DEPENDENCIES += host-python3-setuptools python3
 endif
 LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON
 else
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · Fabrice Fontaine

python bindings needs setuptools since bump to version 0.23 in commit 50b6d7d69f880e940d7c281c493a6a6694d6ebe3 and
https://github.com/analogdevicesinc/libiio/commit/21023a538b125dee966bf496dcad019ee20967bd

Fixes:
- http://autobuild.buildroot.org/results/a26cce9760c75c44ebdcf21dfb4a69aad5702de4

Applied to master, thanks.

Regards,
Arnout

Quoted 11 lines
---
 package/libiio/libiio.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/libiio/libiio.mk +0 -0
index aec251e9a1..8c2e126592 100644
@@ -71,9 +71,9 @@ endif
 

package/libiio/libiio.mk endif · line 79

Quoted 10 lines
package/libiio/libiio.mk +2 -2
 ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y)
 ifeq ($(BR2_PACKAGE_PYTHON),y)
-LIBIIO_DEPENDENCIES += python
+LIBIIO_DEPENDENCIES += host-python-setuptools python
 else ifeq ($(BR2_PACKAGE_PYTHON3),y)
-LIBIIO_DEPENDENCIES += python3
+LIBIIO_DEPENDENCIES += host-python3-setuptools python3
 endif
 LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON
 else

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot