1 |
commit: 0cbb00ef4da9356d7a13a0aab510d1b728537839 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 2 07:23:10 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 2 07:23:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cbb00ef |
7 |
|
8 |
dev-python/yara-python: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/yara-python/Manifest | 1 + |
13 |
dev-python/yara-python/metadata.xml | 14 +++++++++++ |
14 |
dev-python/yara-python/yara-python-4.1.0.ebuild | 32 +++++++++++++++++++++++++ |
15 |
3 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..2c1e298dc |
20 |
--- /dev/null |
21 |
+++ b/dev-python/yara-python/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST yara-python-4.1.0.tar.gz 33717 BLAKE2B f3ec4a90e6d00fa9bc6fe649ce0eb373ae2e3f5fb0c9290020abcb111be10608958ae45733e8200b7199cb43b14a52b2e3ebebf794ac1ab33006467014134b62 SHA512 8b9ce780b6639ab2ee5222adec888c7e0fb6be81c7c64a8b33b033de3f261f9707aa208b7a3a86749f6e86a83fe6d73941c816857faf6eb714399d1f50239b51 |
24 |
|
25 |
diff --git a/dev-python/yara-python/metadata.xml b/dev-python/yara-python/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..979fdba1a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/yara-python/metadata.xml |
30 |
@@ -0,0 +1,14 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <description>co-maintainers welcome</description> |
36 |
+ <email>lssndrbarbieri@×××××.com</email> |
37 |
+ <name>Alessandro Barbieri</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <bugs-to>https://github.com/VirusTotal/yara-python/issues</bugs-to> |
41 |
+ <remote-id type="github">VirusTotal/yara-python</remote-id> |
42 |
+ <remote-id type="pypi">yara-python</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/yara-python/yara-python-4.1.0.ebuild b/dev-python/yara-python/yara-python-4.1.0.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000..0f524d839 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/yara-python/yara-python-4.1.0.ebuild |
51 |
@@ -0,0 +1,32 @@ |
52 |
+# Copyright 1999-2021 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
58 |
+ |
59 |
+inherit distutils-r1 eutils |
60 |
+ |
61 |
+DESCRIPTION="Python interface for a malware identification and classification tool" |
62 |
+HOMEPAGE="https://github.com/VirusTotal/yara-python" |
63 |
+SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="Apache-2.0" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ ${PYTHON_DEPS} |
71 |
+ =app-forensics/yara-$(ver_cut 1-2)* |
72 |
+" |
73 |
+DEPEND="${RDEPEND}" |
74 |
+ |
75 |
+distutils_enable_tests setup.py |
76 |
+ |
77 |
+compile_python() { |
78 |
+ distutils-r1_python_compile --dynamic-linking |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ python_foreach_impl compile_python |
83 |
+} |