summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-16 12:08:08 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-16 12:13:23 +0200
commita2beb97166388041fe909d3edb56aabbcd9006c5 (patch)
treede93ea4f687e483bc00db558a9f96ea160c16750 /dev-python/pygame_sdl2
parentdev-perl/Font-AFM: -r bump for EAPI7 + fixes (diff)
downloadgentoo-a2beb97166388041fe909d3edb56aabbcd9006c5.tar.gz
gentoo-a2beb97166388041fe909d3edb56aabbcd9006c5.tar.bz2
gentoo-a2beb97166388041fe909d3edb56aabbcd9006c5.zip
dev-python/pygame_sdl2: Permit numpy-python2 package
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygame_sdl2')
-rw-r--r--dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r4.ebuild (renamed from dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r2.ebuild)7
-rw-r--r--dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r5.ebuild (renamed from dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r3.ebuild)7
-rw-r--r--dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r1.ebuild (renamed from dev-python/pygame_sdl2/pygame_sdl2-7.3.5.ebuild)7
3 files changed, 18 insertions, 3 deletions
diff --git a/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r2.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r4.ebuild
index c667a5816ee4..d12730c56f9f 100644
--- a/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r2.ebuild
+++ b/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r4.ebuild
@@ -20,7 +20,12 @@ IUSE=""
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]"
DEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ' -3)
+ $(python_gen_cond_dep '
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ ' -2)
media-libs/libpng:0=
media-libs/libsdl2:=[video]
media-libs/sdl2-image:=[png,jpeg]
diff --git a/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r3.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r5.ebuild
index 87e4c0444694..ea28704a6ea0 100644
--- a/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r3.ebuild
+++ b/dev-python/pygame_sdl2/pygame_sdl2-6.99.12.4-r5.ebuild
@@ -20,7 +20,12 @@ IUSE=""
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]"
DEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ' -3)
+ $(python_gen_cond_dep '
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ ' -2)
media-libs/libpng:0=
media-libs/libsdl2:=[video]
media-libs/sdl2-image:=[png,jpeg]
diff --git a/dev-python/pygame_sdl2/pygame_sdl2-7.3.5.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r1.ebuild
index 652dd7b262bc..c5f851750c7d 100644
--- a/dev-python/pygame_sdl2/pygame_sdl2-7.3.5.ebuild
+++ b/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r1.ebuild
@@ -20,7 +20,12 @@ IUSE=""
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]"
DEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ' -3)
+ $(python_gen_cond_dep '
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ ' -2)
media-libs/libpng:0=
media-libs/libsdl2:=[video]
media-libs/sdl2-image:=[png,jpeg]