summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2017-11-21 19:13:28 +0700
committerAndrey Grozin <grozin@gentoo.org>2017-11-21 19:13:28 +0700
commit2e9006187fe0eff83e27dec73eb9000f2e2e119e (patch)
treea469541f9df5cf8326506fcf477d16da97270045
parentnet-libs/nodejs: Use upstream patches for shared nghttp2 support. (diff)
downloadgentoo-2e9006187fe0eff83e27dec73eb9000f2e2e119e.tar.gz
gentoo-2e9006187fe0eff83e27dec73eb9000f2e2e119e.tar.bz2
gentoo-2e9006187fe0eff83e27dec73eb9000f2e2e119e.zip
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
-rw-r--r--dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild b/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild
index db96f8cb7fbe..1d9b9b227acb 100644
--- a/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild
+++ b/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild
@@ -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}]
)"