From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1172379-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4C92D1382C5
	for <garchives@archives.gentoo.org>; Tue, 19 May 2020 12:06:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 416C4E0893;
	Tue, 19 May 2020 12:06:55 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2DFD9E0893
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 May 2020 12:06:55 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 8078034F0E6
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 May 2020 12:06:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CB17A253
	for <gentoo-commits@lists.gentoo.org>; Tue, 19 May 2020 12:06:49 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1589889701.06355ea191c5554f2f10543e98445da0af0c60b7.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pilkit/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/pilkit/pilkit-2.0.ebuild
X-VCS-Directories: dev-python/pilkit/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 06355ea191c5554f2f10543e98445da0af0c60b7
X-VCS-Branch: master
Date: Tue, 19 May 2020 12:06:49 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 287f8f42-c329-4780-877b-bceee297072e
X-Archives-Hash: d1f4b80be5e095cda544d2ef06bfa563

commit:     06355ea191c5554f2f10543e98445da0af0c60b7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 19 12:01:41 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 19 12:01:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06355ea1

dev-python/pilkit: Fix pillow USE-dep for tests

Closes: https://bugs.gentoo.org/723600
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pilkit/pilkit-2.0.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/pilkit/pilkit-2.0.ebuild b/dev-python/pilkit/pilkit-2.0.ebuild
index dd16f29d4fb..6ef202af3c2 100644
--- a/dev-python/pilkit/pilkit-2.0.ebuild
+++ b/dev-python/pilkit/pilkit-2.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
@@ -13,17 +13,13 @@ SRC_URI="https://github.com/matthewwithanm/${PN}/archive/${PV}.tar.gz -> ${P}.ta
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-CDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}
+RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
 	test? (
 		dev-python/mock[${PYTHON_USEDEP}]
 		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/pillow[${PYTHON_USEDEP},jpeg,zlib]
 	)"
-RDEPEND="${CDEPEND}"
 
-python_test() {
-	nosetests --verbose || die
-}
+distutils_enable_tests nose