dev-python/matplotlib: fixing numpy deps
authorRick Farina <zerochaos@gentoo.org>
Mon, 27 Jan 2020 18:14:00 +0000 (13:14 -0500)
committerRick Farina <zerochaos@gentoo.org>
Mon, 27 Jan 2020 18:18:16 +0000 (13:18 -0500)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
dev-python/matplotlib/matplotlib-2.2.2-r2.ebuild [moved from dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild with 96% similarity]
dev-python/matplotlib/matplotlib-2.2.4-r1.ebuild [moved from dev-python/matplotlib/matplotlib-2.2.4.ebuild with 96% similarity]

similarity index 96%
rename from dev-python/matplotlib/matplotlib-2.2.2-r1.ebuild
rename to dev-python/matplotlib/matplotlib-2.2.2-r2.ebuild
index a4c0390e0f3015804f8edf088b4be9b896a562d2..f8532500675f08273aef5efd2d864dc0afcf731d 100644 (file)
@@ -41,7 +41,8 @@ PY2_DEPEND="
        $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7)"
 COMMON_DEPEND="
        dev-python/cycler[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '|| ( dev-python/numpy-python2[${PYTHON_USEDEP}] >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] )' 'python2*')
+       $(python_gen_cond_dep '>=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]' 'python3*')
        dev-python/python-dateutil:0[${PYTHON_USEDEP}]
        dev-python/pytz[${PYTHON_USEDEP}]
        >=dev-python/six-1.10[${PYTHON_USEDEP}]
similarity index 96%
rename from dev-python/matplotlib/matplotlib-2.2.4.ebuild
rename to dev-python/matplotlib/matplotlib-2.2.4-r1.ebuild
index 738f51416fb1699c9d6d62d5485ef178b4e1ef9e..d9582ac4e2417adba0e2c7d41662699e4042dca6 100644 (file)
@@ -39,7 +39,8 @@ PY2_DEPEND="
        $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7)"
 COMMON_DEPEND="
        dev-python/cycler[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '|| ( dev-python/numpy-python2[${PYTHON_USEDEP}] >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] )' 'python2*')
+       $(python_gen_cond_dep '>=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]' 'python3*')
        dev-python/python-dateutil:0[${PYTHON_USEDEP}]
        dev-python/pytz[${PYTHON_USEDEP}]
        >=dev-python/six-1.10[${PYTHON_USEDEP}]