1 |
commit: f6ef74b63e177786e2af3f7a95fa87aba733a988 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 28 04:34:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 28 05:16:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ef74b6 |
7 |
|
8 |
dev-python/yara-python: run tests, convert to PEP517 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/576956 |
11 |
See: https://github.com/gentoo/gentoo/pull/23800 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-python/yara-python/yara-python-4.1.3.ebuild | 6 ++++-- |
15 |
1 file changed, 4 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild b/dev-python/yara-python/yara-python-4.1.3.ebuild |
18 |
index 54194680cc20..a8ccc85b7d96 100644 |
19 |
--- a/dev-python/yara-python/yara-python-4.1.3.ebuild |
20 |
+++ b/dev-python/yara-python/yara-python-4.1.3.ebuild |
21 |
@@ -3,8 +3,8 @@ |
22 |
|
23 |
EAPI=8 |
24 |
|
25 |
+DISTUTILS_USE_PEP517=setuptools |
26 |
PYTHON_COMPAT=( python3_{8..10} ) |
27 |
- |
28 |
inherit distutils-r1 |
29 |
|
30 |
DESCRIPTION="Python interface for a malware identification and classification tool" |
31 |
@@ -16,9 +16,11 @@ SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
|
34 |
RDEPEND="${PYTHON_DEPS} |
35 |
- =app-forensics/yara-4.1*" |
36 |
+ =app-forensics/yara-$(ver_cut 1-2)*" |
37 |
DEPEND="${RDEPEND}" |
38 |
|
39 |
+distutils_enable_tests unittest |
40 |
+ |
41 |
src_compile() { |
42 |
compile_python() { |
43 |
distutils-r1_python_compile --dynamic-linking |