1 |
commit: 7517a9ba96480dfd157c766bed2f4a9bbd140aa6 |
2 |
Author: Hanno Böck <hanno <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 17:14:23 2020 +0000 |
4 |
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 17:14:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7517a9ba |
7 |
|
8 |
dev-python/pyClamd: Python 3.8/3.9 support. |
9 |
|
10 |
Bump EAPI to 7. |
11 |
|
12 |
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org> |
13 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
14 |
|
15 |
dev-python/pyClamd/pyClamd-0.4.0-r2.ebuild | 26 ++++++++++++++++++++++++++ |
16 |
1 file changed, 26 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pyClamd/pyClamd-0.4.0-r2.ebuild b/dev-python/pyClamd/pyClamd-0.4.0-r2.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..ac100d23389 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/pyClamd/pyClamd-0.4.0-r2.ebuild |
23 |
@@ -0,0 +1,26 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="python interface to Clamd (Clamav daemon)" |
34 |
+HOMEPAGE="https://xael.org/pages/pyclamd-en.html" |
35 |
+SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="LGPL-3" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64" |
40 |
+IUSE="" |
41 |
+ |
42 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
43 |
+RDEPEND="${DEPEND}" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ sed -e 's:/etc/clamav/clamd.conf:/etc/clamd.conf:' \ |
48 |
+ -i pyclamd/pyclamd.py || die |
49 |
+} |