mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: tuxemon: Switch to pyproject.
* 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 <ludo@gnu.org>
This commit is contained in:
parent
785775739b
commit
c2d7402226
1 changed files with 14 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue