Created attachment 860789 [details] ebuild of games-strategy/unknown-horizons-2019.1-r1 which uses the patches Currently, the ebuild is only good if we're using Python 3.8 or older. Upstream is not going to help us out, because they have decided to migrate to Godot and discontinue developing the FIFEngine-based version of Unknown Horizons. Because of this, gamerlay has to either drop this package or patch it so that it can work with newer versions of Python. Fortunately for any Unknown Horizons fans, I have a patched ebuild and code patches that can get us the latter solution.
Sorry, the patches are actually for Python 3.8 or newer. I made a typo in the OP. Unknown Horizons is originally supported only on Python up to 3.7. More files coming up.
Created attachment 860790 [details, diff] Corrects distro detection in setup.py
Created attachment 860791 [details, diff] Corrects json decoder calls
Created attachment 860792 [details, diff] Updates references to Iterable properties
Created attachment 860793 [details, diff] One more call fix
Depends on https://bugs.gentoo.org/905665 as well
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=4900137dde22ca34250c4de54fb1d2ec3e569170 commit 4900137dde22ca34250c4de54fb1d2ec3e569170 Author: Vadim Misbakh-Soloviov <mva@gentoo.org> AuthorDate: 2024-01-16 04:21:43 +0000 Commit: Vadim Misbakh-Soloviov <mva@gentoo.org> CommitDate: 2024-01-16 04:24:30 +0000 games-strategy/unknown-horizons: fix build Closes: https://bugs.gentoo.org/905123 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org> .../unknown-horizons/files/json_decoder.patch | 8 ++++++++ .../unknown-horizons/files/python-3.8.patch | 19 +++++++++++++++++++ .../unknown-horizons/files/unitmanager.patch | 20 ++++++++++++++++++++ .../unknown-horizons/files/util_preloader.patch | 14 ++++++++++++++ games-strategy/unknown-horizons/metadata.xml | 14 +++++++------- ...19.1.ebuild => unknown-horizons-2019.1-r1.ebuild} | 17 +++++++++++++++-- 6 files changed, 83 insertions(+), 9 deletions(-)