[meta-security] python3-fail2ban: addjust compile to setuptools_build_meta changes

Message ID 20220310210134.8550-1-akuster808@gmail.com
State New
Headers show
Series [meta-security] python3-fail2ban: addjust compile to setuptools_build_meta changes | expand

Commit Message

Armin Kuster March 10, 2022, 9:01 p.m. UTC
Tweak compile do to this commit:
bcd7e29a3b setuptools_build_meta: clean up configure/compile

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

Patch

diff --git a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
index 2fe407e..e653d9d 100644
--- a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
+++ b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb
@@ -25,7 +25,8 @@  S = "${WORKDIR}/git"
 do_compile () {
     cd ${S}
     ./fail2ban-2to3
-    nativepython3 ${S}/build-it.py
+     mkdir -p ${S}/dist
+     nativepython3 -c "from setuptools import build_meta; build_meta.build_wheel('./dist')"
 }
 
 do_install:append () {