diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2022-07-26 19:54:26 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2022-07-26 20:03:08 +0300 |
commit | 5de76f27e696dc897659a3f1efe30c864d8f46b4 (patch) | |
tree | 8f891888ea80a1f96294de0aed742608da61b3bf /dev-python/pygame_sdl2 | |
parent | app-containers/cosign: add 1.10.0 (diff) | |
download | gentoo-5de76f27e696dc897659a3f1efe30c864d8f46b4.tar.gz gentoo-5de76f27e696dc897659a3f1efe30c864d8f46b4.tar.bz2 gentoo-5de76f27e696dc897659a3f1efe30c864d8f46b4.zip |
dev-python/pygame_sdl2: support newer python versions
- Support python 3.10 and 3.11 (tested).
- Update EAPI 7 -> 8.
- Update jpeg dependency.
Closes: https://bugs.gentoo.org/845801
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'dev-python/pygame_sdl2')
-rw-r--r-- | dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild index ba75fbfeece8..cd005d4ae4be 100644 --- a/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild +++ b/dev-python/pygame_sdl2/pygame_sdl2-7.3.5-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 PYSDL="${PN}-2.1.0" @@ -21,12 +21,13 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}]" DEPEND=" dev-python/numpy[${PYTHON_USEDEP}] + media-libs/libjpeg-turbo:= media-libs/libpng:0= media-libs/libsdl2:=[video] media-libs/sdl2-image:=[png,jpeg] >=media-libs/sdl2-mixer-2.0.2:= media-libs/sdl2-ttf:= - virtual/jpeg:0" +" RDEPEND="${DEPEND}" S=${WORKDIR}/${PYSDL}-for-renpy-${PV} |