Gentoo Archives: gentoo-commits

From: Hanno Boeck <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyClamd/
Date: Mon, 16 Sep 2019 06:57:10
Message-Id: 1568617016.43118e7c7d9156330ffae5af916182728f10e658.hanno@gentoo
1 commit: 43118e7c7d9156330ffae5af916182728f10e658
2 Author: Hanno <hanno <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 16 06:56:33 2019 +0000
4 Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 16 06:56:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43118e7c
7
8 dev-python/pyClamd: Add python 3.7 support.
9
10 Add myself as maintainer.
11
12 Bug: https://bugs.gentoo.org/694280
13 Signed-off-by: Hanno Boeck <hanno <AT> gentoo.org>
14 Package-Manager: Portage-2.3.76, Repoman-2.3.17
15
16 dev-python/pyClamd/metadata.xml | 4 +++-
17 dev-python/pyClamd/pyClamd-0.4.0-r1.ebuild | 26 ++++++++++++++++++++++++++
18 2 files changed, 29 insertions(+), 1 deletion(-)
19
20 diff --git a/dev-python/pyClamd/metadata.xml b/dev-python/pyClamd/metadata.xml
21 index bfc26d648e7..9e0c0672b1c 100644
22 --- a/dev-python/pyClamd/metadata.xml
23 +++ b/dev-python/pyClamd/metadata.xml
24 @@ -1,7 +1,9 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 - <!-- maintainer-needed -->
29 + <maintainer type="person">
30 + <email>hanno@g.o</email>
31 + </maintainer>
32 <upstream>
33 <remote-id type="pypi">pyClamd</remote-id>
34 </upstream>
35
36 diff --git a/dev-python/pyClamd/pyClamd-0.4.0-r1.ebuild b/dev-python/pyClamd/pyClamd-0.4.0-r1.ebuild
37 new file mode 100644
38 index 00000000000..dfcc0c76b5e
39 --- /dev/null
40 +++ b/dev-python/pyClamd/pyClamd-0.4.0-r1.ebuild
41 @@ -0,0 +1,26 @@
42 +# Copyright 1999-2019 Gentoo Authors
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=6
46 +
47 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
48 +
49 +inherit distutils-r1
50 +
51 +DESCRIPTION="python interface to Clamd (Clamav daemon)"
52 +HOMEPAGE="https://xael.org/pages/pyclamd-en.html"
53 +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
54 +
55 +LICENSE="LGPL-3"
56 +SLOT="0"
57 +KEYWORDS="~amd64"
58 +IUSE=""
59 +
60 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
61 +RDEPEND="${DEPEND}"
62 +
63 +src_prepare() {
64 + default
65 + sed -e 's:/etc/clamav/clamd.conf:/etc/clamd.conf:' \
66 + -i pyclamd/pyclamd.py || die
67 +}