commit:     83c3e9277bbf53bc7eb714b7b100a0b9786a717f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 04:58:03 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 05:26:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c3e927

games-puzzle/pathological: add python3_9, require <pygame-2

python3_9 works as expected but this game is unusable with
pygame-2 regardless of the interpreter, restrict until fixed.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 ...logical-1.1.3_p16-r1.ebuild => pathological-1.1.3_p16-r2.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/pathological/pathological-1.1.3_p16-r1.ebuild 
b/games-puzzle/pathological/pathological-1.1.3_p16-r2.ebuild
similarity index 91%
rename from games-puzzle/pathological/pathological-1.1.3_p16-r1.ebuild
rename to games-puzzle/pathological/pathological-1.1.3_p16-r2.ebuild
index c41cdb26e8e..9a41e9a28b0 100644
--- a/games-puzzle/pathological/pathological-1.1.3_p16-r1.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3_p16-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8,9} )
 
 inherit desktop python-single-r1 toolchain-funcs
 
@@ -20,9 +20,11 @@ KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+# Note: locks up at start with >=pygame-2 (debian uses pygame-1, fix needed)
 RDEPEND="${PYTHON_DEPS}
        $(python_gen_cond_dep '
-               >=dev-python/pygame-1.5.5[${PYTHON_MULTI_USEDEP}]
+               >=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]
+               <dev-python/pygame-2[${PYTHON_USEDEP}]
        ')
 "
 DEPEND="${RDEPEND}"

Reply via email to