commit:     67a69db46a839f9168a976a507414153cc9ad943
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 14:55:24 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 14:55:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a69db4

dev-python/pymilter: FEATURES=test requires dev-lang/python[sqlite]

Closes: https://bugs.gentoo.org/738204
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-python/pymilter/pymilter-1.0.4-r1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/pymilter/pymilter-1.0.4-r1.ebuild 
b/dev-python/pymilter/pymilter-1.0.4-r1.ebuild
index ab1081c7100..5a706a8fdf0 100644
--- a/dev-python/pymilter/pymilter-1.0.4-r1.ebuild
+++ b/dev-python/pymilter/pymilter-1.0.4-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 inherit distutils-r1
 
@@ -13,9 +13,11 @@ 
SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )"
+DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
+       test? ( $(python_gen_impl_dep sqlite) )"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-${P}"

Reply via email to