dev-python/yara-python: run tests, convert to PEP517

Closes: https://bugs.gentoo.org/576956
See: https://github.com/gentoo/gentoo/pull/23800
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-01-28 04:34:15 +00:00
parent 3e3c7d0166
commit f6ef74b63e

View File

@@ -3,8 +3,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python interface for a malware identification and classification tool"
@@ -16,9 +16,11 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-4.1*"
=app-forensics/yara-$(ver_cut 1-2)*"
DEPEND="${RDEPEND}"
distutils_enable_tests unittest
src_compile() {
compile_python() {
distutils-r1_python_compile --dynamic-linking