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
This commit is contained in:
Virgil Dupras
2018-07-11 10:38:41 -04:00
parent 0b608562a4
commit 331fb7baff
2 changed files with 8 additions and 2 deletions

View File

@@ -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}"

View File

@@ -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}"