From c2d7402226c582a2372ddbf8306c66327877af4d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 22 Nov 2025 22:29:26 +0100 Subject: [PATCH] gnu: tuxemon: Switch to pyproject. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/games.scm (tuxemon): [build-system]: Switch to pyproject-build-system. [arguments]: Relocate field. [native-inputs]: Add python-setuptools. Signed-off-by: Ludovic Courtès --- gnu/packages/games.scm | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index c4b58c39700080ac761a040f5a8e3c30b747ca0f..cdeea940dd59ac7090df708898beb0247820bc3a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6637,7 +6637,20 @@ safety of the Chromium vessel.") (("==") ">=")) (substitute* "tuxemon/constants/paths.py" (("LIBDIR, ....,") "LIBDIR,")))))) - (build-system python-build-system) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; Tests won't be updated until the API stabilises + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-mods + (lambda _ + (let ((site (string-append #$output "/lib/python" + #$(version-major+minor + (package-version python)) + "/site-packages/tuxemon/mods"))) + (mkdir-p site) + (copy-recursively "mods" site))))))) (native-inputs (list python-flit-core python-setuptools)) (propagated-inputs (list python-babel @@ -6653,18 +6666,6 @@ safety of the Chromium vessel.") python-pygame-menu python-pyyaml python-requests)) - (arguments - (list #:tests? #f ; Tests won't be updated until the API stabilises - #:phases - #~(modify-phases %standard-phases - (add-after 'install 'install-mods - (lambda _ - (let ((site (string-append #$output "/lib/python" - #$(version-major+minor - (package-version python)) - "/site-packages/tuxemon/mods"))) - (mkdir-p site) - (copy-recursively "mods" site))))))) (home-page "https://www.tuxemon.org/") (synopsis "Monster-fighting RPG") (description