diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-06 23:21:51 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-06 23:21:56 +0100 |
commit | 40aefa695b2ef9a1c53a9c7db51bffae98bcf507 (patch) | |
tree | a2b01deeb999f134efd5110777943f2742a35fce | |
parent | f8f5a10d98cfe76f8e2f41b152c02a5860f5e599 (diff) |
gnu: python-pytmx: Fix build.
* gnu/packages/game-development.scm (python-pytmx): Fix build, improve
style.
[build-system]: Switch to pyproject.
[arguments] <tests?>: No tests in PyPI provided, disable.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Id879d37564b7b4a6fd320ca8a7cc5d3d8f182806
-rw-r--r-- | gnu/packages/game-development.scm | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 0b905021ea..f9b80da6ab 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -652,20 +652,29 @@ for animated scrolling maps for your new or existing game.") (package (name "python-pytmx") (version "3.32") - (source (origin - (method url-fetch) - (uri (pypi-uri "PyTMX" version)) - (sha256 - (base32 - "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5")))) - (build-system python-build-system) + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyTMX" version)) + (sha256 + (base32 "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ; XXX: no tests in PyPI, there are in Git + (native-inputs + (list python-setuptools + python-wheel)) (propagated-inputs - (list python-pygame python-pysdl2 python-pyglet)) - (home-page "https://github.com/bitcraft/PyTMX") - (synopsis "Python library to read Tiled Map Editor's TMX maps") - (description "@code{pytmx} is a map loader for python/pygame designed for games. + (list python-pygame + python-pysdl2 + python-pyglet)) + (home-page "https://github.com/bitcraft/PyTMX") + (synopsis "Python library to read Tiled Map Editor's TMX maps") + (description + "@code{pytmx} is a map loader for python/pygame designed for games. It provides smart tile loading with a fast and efficient storage base.") - (license license:lgpl3+))) + (license license:lgpl3+))) (define-public python-tmx (package |