From 331fb7baff4fbe2674745c087e0522a2be6591a6 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 11 Jul 2018 10:38:41 -0400 Subject: [PATCH] dev-python/pillow: fix test dependencies Some tests require imagemagick to be installed but, more importantly, installed with the png USE flag. When imagemagick was installed without the png use flag, those tests would run and fail. Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- dev-python/pillow/pillow-4.3.0-r2.ebuild | 5 ++++- dev-python/pillow/pillow-5.2.0.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/pillow/pillow-4.3.0-r2.ebuild b/dev-python/pillow/pillow-4.3.0-r2.ebuild index 77e205fdfb54..803aa344a807 100644 --- a/dev-python/pillow/pillow-4.3.0-r2.ebuild +++ b/dev-python/pillow/pillow-4.3.0-r2.ebuild @@ -38,7 +38,10 @@ DEPEND="${RDEPEND} dev-python/sphinx[${PYTHON_USEDEP}] dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + media-gfx/imagemagick[png] + ) " S="${WORKDIR}/${MY_P}" diff --git a/dev-python/pillow/pillow-5.2.0.ebuild b/dev-python/pillow/pillow-5.2.0.ebuild index 50913f7c98a3..ad0c8bde22b6 100644 --- a/dev-python/pillow/pillow-5.2.0.ebuild +++ b/dev-python/pillow/pillow-5.2.0.ebuild @@ -38,7 +38,10 @@ DEPEND="${RDEPEND} dev-python/sphinx[${PYTHON_USEDEP}] dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + media-gfx/imagemagick[png] + ) " S="${WORKDIR}/${MY_P}" -- 2.26.2