sci-chemistry/relax: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:27:57 +0000 (07:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:38:06 +0000 (07:38 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-chemistry/relax/relax-4.0.0-r1.ebuild

index 5a99d4554ba7f6335b1f5fcf111be617292cd424..da182eead0aed68a7e67bd37adf493e8a9b96bde 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,7 +25,10 @@ RDEPEND="
        ${PYTHON_DEPS}
        dev-python/Numdifftools[${PYTHON_USEDEP}]
        dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/numpy[${PYTHON_USEDEP}]
+       || (
+               dev-python/numpy-python2[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+       )
        dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}]
        sci-chemistry/molmol
        sci-chemistry/pymol[${PYTHON_USEDEP}]