1 |
commit: 2e9006187fe0eff83e27dec73eb9000f2e2e119e |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 21 12:13:28 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 21 12:13:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e900618 |
7 |
|
8 |
dev-python/matplotlib: dependency on backports-functools-lru-cache fixed |
9 |
|
10 |
With python_targets_python2_7, backports-functools-lru-cache is needed at runtime. |
11 |
It is also needed at build time with USE=test, |
12 |
or with USE=doc if python2_ is the only element in PYTHON_TARGETS. |
13 |
Therefore, Ive added it to COMMON_DEPEND. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/637588 |
16 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
17 |
|
18 |
dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild b/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild |
22 |
index db96f8cb7fb..1d9b9b227ac 100644 |
23 |
--- a/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild |
24 |
+++ b/dev-python/matplotlib/matplotlib-2.1.0-r1.ebuild |
25 |
@@ -45,6 +45,7 @@ COMMON_DEPEND=" |
26 |
media-fonts/stix-fonts |
27 |
media-libs/freetype:2 |
28 |
media-libs/libpng:0 |
29 |
+ python_targets_python2_7? ( dev-python/backports-functools-lru-cache[${PY2_USEDEP}] ) |
30 |
>=media-libs/qhull-2013 |
31 |
cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] ) |
32 |
gtk2? ( |
33 |
@@ -76,7 +77,6 @@ DEPEND="${COMMON_DEPEND} |
34 |
media-gfx/graphviz[cairo] |
35 |
) |
36 |
test? ( |
37 |
- dev-python/backports-functools-lru-cache[${PY2_USEDEP}] |
38 |
dev-python/mock[${PYTHON_USEDEP}] |
39 |
>=dev-python/nose-0.11.1[${PYTHON_USEDEP}] |
40 |
)" |