diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild b/dev-python/yara-python/yara-python-4.1.3.ebuild index 54194680cc20f..a8ccc85b7d96e 100644 --- a/dev-python/yara-python/yara-python-4.1.3.ebuild +++ b/dev-python/yara-python/yara-python-4.1.3.ebuild @@ -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