dev-python/matplotlib: dependency on backports-functools-lru-cache fixed

With python_targets_python2_7, backports-functools-lru-cache is needed at runtime.
It is also needed at build time with USE=test,
or with USE=doc if python2_ is the only element in PYTHON_TARGETS.
Therefore, Ive added it to COMMON_DEPEND.

Closes: https://bugs.gentoo.org/637588
Package-Manager: Portage-2.3.14, Repoman-2.3.6
This commit is contained in:
Andrey Grozin
2017-11-21 19:13:28 +07:00
parent d904f25f8d
commit 2e9006187f

View File

@@ -45,6 +45,7 @@ COMMON_DEPEND="
media-fonts/stix-fonts
media-libs/freetype:2
media-libs/libpng:0
python_targets_python2_7? ( dev-python/backports-functools-lru-cache[${PY2_USEDEP}] )
>=media-libs/qhull-2013
cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] )
gtk2? (
@@ -76,7 +77,6 @@ DEPEND="${COMMON_DEPEND}
media-gfx/graphviz[cairo]
)
test? (
dev-python/backports-functools-lru-cache[${PY2_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
>=dev-python/nose-0.11.1[${PYTHON_USEDEP}]
)"