net-analyzer/suricata: support python3_9

Builds, tests and installs fine, and at least suricata-update works
without problems.

Tested pypy3 support as well and it needs work, somehow Python modules
for this implementation end up in /usr/site-packages. Tools work fine
once the modules have been manually moved to the right directory,
though.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2020-07-17 21:30:28 +02:00
parent 3353525724
commit 2fa67aeb14

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..9} )
inherit autotools flag-o-matic linux-info python-single-r1 systemd
@@ -65,7 +65,7 @@ pkg_pretend() {
fi
CONFIG_CHECK="~XDP_SOCKETS"
ERROR_XDP_SOCKETS="CONFIG_XDP_SOCKETS is not set, making it impossible for Suricata will to load XDP programs. "
ERROR_XDP_SOCKETS="CONFIG_XDP_SOCKETS is not set, making it impossible for Suricata to load XDP programs. "
ERROR_XDP_SOCKETS+="Other eBPF features should work normally."
check_extra_config
fi