1 |
commit: 67a69db46a839f9168a976a507414153cc9ad943 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 14:55:24 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 14:55:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a69db4 |
7 |
|
8 |
dev-python/pymilter: FEATURES=test requires dev-lang/python[sqlite] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738204 |
11 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
dev-python/pymilter/pymilter-1.0.4-r1.ebuild | 8 +++++--- |
15 |
1 file changed, 5 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pymilter/pymilter-1.0.4-r1.ebuild b/dev-python/pymilter/pymilter-1.0.4-r1.ebuild |
18 |
index ab1081c7100..5a706a8fdf0 100644 |
19 |
--- a/dev-python/pymilter/pymilter-1.0.4-r1.ebuild |
20 |
+++ b/dev-python/pymilter/pymilter-1.0.4-r1.ebuild |
21 |
@@ -2,7 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-PYTHON_COMPAT=( python3_{6,7} ) |
26 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -13,9 +13,11 @@ SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz" |
31 |
LICENSE="GPL-2" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64" |
34 |
-IUSE="" |
35 |
+IUSE="test" |
36 |
+RESTRICT="!test? ( test )" |
37 |
|
38 |
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )" |
39 |
+DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) |
40 |
+ test? ( $(python_gen_impl_dep sqlite) )" |
41 |
RDEPEND="${DEPEND}" |
42 |
|
43 |
S="${WORKDIR}/${PN}-${P}" |