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

index 46766b7715e6283244893f174aec060572abde42..8f367caec9223550b5471fbc00f8dc9547559d69 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,10 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/numpy[${PYTHON_USEDEP}]
+       || (
+               dev-python/numpy-python2[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+       )
        sci-chemistry/openbabel-python[${PYTHON_USEDEP}]
        opal? ( dev-python/zsi[${PYTHON_USEDEP}] )
        pdb2pka? ( sci-chemistry/apbs[${PYTHON_USEDEP},-mpi] )"