From beb8d064fabfd14a0e009b6f17d855fa55ed54e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 20 Oct 2023 11:09:30 +0700 Subject: [PATCH] fail2ban: fix for python 3.12 --- srcpkgs/fail2ban/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template index 0433ba0dac6..0320047761c 100644 --- a/srcpkgs/fail2ban/template +++ b/srcpkgs/fail2ban/template @@ -4,7 +4,7 @@ version=1.0.2 revision=2 build_style=python3-module hostmakedepends="pkg-config python3-setuptools" -depends="python3" +depends="python3-pyasynchat" short_desc="Authentication failure monitor system" maintainer="Orphaned " license="GPL-2.0-only" @@ -24,5 +24,6 @@ pre_build() { } post_install() { + rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests vsv fail2ban }