summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-16 07:27:31 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-16 07:38:04 +0100
commitd1a502c6076dba392a82e7a3a476f65f4ac8cf55 (patch)
tree0fc0ce0b075d9ffd27f259489eb6f9abd1be0d62 /sci-chemistry
parentsci-chemistry/pdb2pqr: Permit numpy-python2 (diff)
downloadgentoo-d1a502c6076dba392a82e7a3a476f65f4ac8cf55.tar.gz
gentoo-d1a502c6076dba392a82e7a3a476f65f4ac8cf55.tar.bz2
gentoo-d1a502c6076dba392a82e7a3a476f65f4ac8cf55.zip
sci-chemistry/pymol: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pymol/pymol-1.8.4.0-r1.ebuild5
-rw-r--r--sci-chemistry/pymol/pymol-2.3.0-r1.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/sci-chemistry/pymol/pymol-1.8.4.0-r1.ebuild b/sci-chemistry/pymol/pymol-1.8.4.0-r1.ebuild
index 0bcafb2e3223..d6864f00a97a 100644
--- a/sci-chemistry/pymol/pymol-1.8.4.0-r1.ebuild
+++ b/sci-chemistry/pymol/pymol-1.8.4.0-r1.ebuild
@@ -22,7 +22,10 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="web"
DEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
dev-python/pmw:py2[${PYTHON_USEDEP}]
dev-python/pyopengl[${PYTHON_USEDEP}]
media-libs/freeglut
diff --git a/sci-chemistry/pymol/pymol-2.3.0-r1.ebuild b/sci-chemistry/pymol/pymol-2.3.0-r1.ebuild
index b84c27698061..7591fe38393d 100644
--- a/sci-chemistry/pymol/pymol-2.3.0-r1.ebuild
+++ b/sci-chemistry/pymol/pymol-2.3.0-r1.ebuild
@@ -22,7 +22,10 @@ IUSE="web"
DEPEND="
dev-libs/msgpack[cxx]
dev-libs/mmtf-cpp
- dev-python/numpy[${PYTHON_USEDEP}]
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
dev-python/pmw:py2[${PYTHON_USEDEP}]
dev-python/pyopengl[${PYTHON_USEDEP}]
dev-python/PyQt5[opengl,${PYTHON_USEDEP}]