summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/matplotlib-1.4.3.ebuild
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-15 14:13:31 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-15 14:13:31 +0200
commit06015eb806b553ac05242d20038241bc01076b52 (patch)
treec0bfbe623fd006c3c7b6a3498adee28bd9deaf74 /dev-python/matplotlib/matplotlib-1.4.3.ebuild
parente4b18f853d3548d2b13a4350f055c2106f61072b (diff)
downloadgentoo-06015eb806b553ac05242d20038241bc01076b52.tar.gz
gentoo-06015eb806b553ac05242d20038241bc01076b52.tar.bz2
gentoo-06015eb806b553ac05242d20038241bc01076b52.zip
dev-python/matplotlib: Correct all deps so that py 2 and 3 are handled
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=456704 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib/matplotlib-1.4.3.ebuild')
-rw-r--r--dev-python/matplotlib/matplotlib-1.4.3.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-python/matplotlib/matplotlib-1.4.3.ebuild b/dev-python/matplotlib/matplotlib-1.4.3.ebuild
index df777aa8c329..f7b41564e7a4 100644
--- a/dev-python/matplotlib/matplotlib-1.4.3.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.4.3.ebuild
@@ -51,7 +51,7 @@ DEPEND="${COMMON_DEPEND}
virtual/python-imaging[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/numpydoc[${PYTHON_USEDEP}]
- dev-python/xlwt[${PY2_USEDEP}]
+ dev-python/xlwt[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-texlive/texlive-latexextra
dev-texlive/texlive-fontsrecommended
@@ -71,8 +71,11 @@ RDEPEND="${COMMON_DEPEND}
dev-python/cairocffi[${PYTHON_USEDEP}]
)
)
- excel? ( dev-python/xlwt[${PY2_USEDEP}] )
- fltk? ( dev-python/pyfltk[${PY2_USEDEP}] )
+ excel? ( dev-python/xlwt[${PYTHON_USEDEP}] )
+ fltk? (
+ $(python_gen_cond_dep 'dev-python/pyfltk[${PYTHON_USEDEP}]' python2_7)
+ $(python_gen_cond_dep 'dev-python/pyfltk[${PYTHON_USEDEP}]' 'python3*')
+ )
gtk3? (
dev-python/pygobject:3[${PYTHON_USEDEP}]
x11-libs/gtk+:3[introspection] )