Skip to contentSkip to conversation

package/libevent: do not drop python script with python 3

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 22, 2020 – Feb 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libevent: do not drop python script with python 3

python script is compatible with python3 since 2.1.10 and
https://github.com/libevent/libevent/commit/532a8cc301db39e82166b4fe98146534fdc242ce

---
 package/libevent/libevent.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libevent/libevent.mk +1 -1
index a5ba7fdf6a..d604559313 100644
@@ -24,7 +24,7 @@ endef
 
 # libevent installs a python script to target - get rid of it if we
 # don't have python support enabled
-ifneq ($(BR2_PACKAGE_PYTHON),y)
+ifneq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
 LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
 endif
 
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/libevent: do not drop python script with python 3

Quoted 7 lines · On Wed, 22 Jan 2020 20:14:38 +0100 Fabrice Fontaine…

python script is compatible with python3 since 2.1.10 and
https://github.com/libevent/libevent/commit/532a8cc301db39e82166b4fe98146534fdc242ce

---
 package/libevent/libevent.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com