dev-python/matplotlib: Correct all deps so that py 2 and 3 are handled
authorJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 12:13:31 +0000 (14:13 +0200)
committerJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 12:13:31 +0000 (14:13 +0200)
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>
dev-python/matplotlib/matplotlib-1.4.3.ebuild
dev-python/matplotlib/matplotlib-9999.ebuild
dev-python/matplotlib/metadata.xml

index df777aa8c3290a89b9e22a870a4eda8b4a4388ff..f7b41564e7a47892a58a482a59f3f71b1d225ee5 100644 (file)
@@ -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] )
index b5d52ac66b294751544dbe2ea302fdeb9f54a8f8..bcdd269a6b6b3983794ec41c4208f66a85198e72 100644 (file)
@@ -52,7 +52,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
@@ -72,8 +72,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] )
index 67727391d340381796b0ec0365dfb84363af9e59..385b78482e13172bc7ccc087f501afa8fbc3ecb9 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <herd>python</herd>