python3-fail2ban: Migrate to use wheels.
PATCH 1/1 python3-fail2ban: Migrate to use wheels.
This package uses 2to3 so need to call build-it ourselves.
Signed-off-by Armin Kuster <[email protected]>
--- recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-security/fail2ban/python3-fail2ban_0.11.2.bb +5 -1
@@ -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 () {
Signature · 1 line
2.25.1