All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-security][PATCH] python3-fail2ban: Migrate to use wheels.
@ 2022-02-28  0:08 Armin Kuster
  0 siblings, 0 replies; only message in thread
From: Armin Kuster @ 2022-02-28  0:08 UTC (permalink / raw)
  To: yocto

This package uses 2to3 so need to call build-it ourselves.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
index f6394cc..93bc3a7 100644
--- a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
+++ b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
@@ -15,13 +15,17 @@ SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11;protocol=https \
         file://run-ptest \
 "
 
-inherit update-rc.d ptest setuptools3
+inherit update-rc.d ptest setuptools_build_meta
+
+PIP_INSTALL_PACKAGE = "fail2ban"
+PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${PV}-*.whl"
 
 S = "${WORKDIR}/git"
 
 do_compile () {
     cd ${S}
     ./fail2ban-2to3
+    nativepython3 ${S}/build-it.py
 }
 
 do_install:append () {
-- 
2.25.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-28  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28  0:08 [meta-security][PATCH] python3-fail2ban: Migrate to use wheels Armin Kuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.