summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-07-11 10:38:41 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-07-11 10:38:41 -0400
commit331fb7baff4fbe2674745c087e0522a2be6591a6 (patch)
tree7d6edc5d1e2814ffaa5bdea0a1af0c8b4683a3c3
parentapp-misc/elasticsearch: drop old (diff)
downloadgentoo-331fb7baff4fbe2674745c087e0522a2be6591a6.tar.gz
gentoo-331fb7baff4fbe2674745c087e0522a2be6591a6.tar.bz2
gentoo-331fb7baff4fbe2674745c087e0522a2be6591a6.zip
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
-rw-r--r--dev-python/pillow/pillow-4.3.0-r2.ebuild5
-rw-r--r--dev-python/pillow/pillow-5.2.0.ebuild5
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}"