summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:01:56 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:26 +0100
commitcbba69141db111820efc98edd6464b2f8e1bccfb (patch)
tree7d1c3b1d3415dc940171562b0dcc0b7e16c2dc7f /sci-geosciences/grass
parentsci-electronics/sigrok-cli: Switch to PYTHON_SINGLE_USEDEP (diff)
downloadgentoo-cbba69141db111820efc98edd6464b2f8e1bccfb.tar.gz
gentoo-cbba69141db111820efc98edd6464b2f8e1bccfb.tar.bz2
gentoo-cbba69141db111820efc98edd6464b2f8e1bccfb.zip
sci-geosciences/grass: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-geosciences/grass')
-rw-r--r--sci-geosciences/grass/grass-7.4.4-r3.ebuild (renamed from sci-geosciences/grass/grass-7.4.4-r2.ebuild)10
-rw-r--r--sci-geosciences/grass/grass-7.4.4.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/sci-geosciences/grass/grass-7.4.4-r2.ebuild b/sci-geosciences/grass/grass-7.4.4-r3.ebuild
index 1eae3bc22a9c..595f714b7b87 100644
--- a/sci-geosciences/grass/grass-7.4.4-r2.ebuild
+++ b/sci-geosciences/grass/grass-7.4.4-r3.ebuild
@@ -25,10 +25,12 @@ IUSE="blas cxx fftw geos lapack liblas mysql netcdf nls odbc opencl opengl openm
RDEPEND="${PYTHON_DEPS}
>=app-admin/eselect-1.2
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
+ $(python_gen_cond_dep '
+ || (
+ dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ )
+ ')
media-libs/libprojectm
sci-libs/gdal
sys-libs/gdbm
diff --git a/sci-geosciences/grass/grass-7.4.4.ebuild b/sci-geosciences/grass/grass-7.4.4.ebuild
index 7ab6f3281d16..af8e8a283be9 100644
--- a/sci-geosciences/grass/grass-7.4.4.ebuild
+++ b/sci-geosciences/grass/grass-7.4.4.ebuild
@@ -25,10 +25,12 @@ IUSE="blas cxx fftw geos lapack liblas mysql netcdf nls odbc opencl opengl openm
RDEPEND="${PYTHON_DEPS}
>=app-admin/eselect-1.2
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
+ $(python_gen_cond_dep '
+ || (
+ dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ )
+ ')
media-libs/libprojectm
sci-libs/gdal
sys-libs/gdbm