Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymilter/
Date: Sat, 29 Jan 2022 21:19:32
Message-Id: 1643491043.f7a41b2c222c8942dbd4537a3b88579271dde7b0.mgorny@gentoo
1 commit: f7a41b2c222c8942dbd4537a3b88579271dde7b0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 21:17:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 21:17:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a41b2c
7
8 dev-python/pymilter: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pymilter/pymilter-1.0.4-r2.ebuild | 25 +++++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/dev-python/pymilter/pymilter-1.0.4-r2.ebuild b/dev-python/pymilter/pymilter-1.0.4-r2.ebuild
16 new file mode 100644
17 index 000000000000..716df497df76
18 --- /dev/null
19 +++ b/dev-python/pymilter/pymilter-1.0.4-r2.ebuild
20 @@ -0,0 +1,25 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..9} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python interface to sendmail milter API"
32 +HOMEPAGE="https://github.com/sdgathman/pymilter"
33 +SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz"
34 +S="${WORKDIR}/${PN}-${P}"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +
40 +RDEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )"
41 +DEPEND="${RDEPEND}"
42 +BDEPEND="
43 + test? ( $(python_gen_impl_dep sqlite) )"
44 +
45 +distutils_enable_tests unittest