1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Sharlatan Hellseher
2025-05-06 23:21:51 +01:00
parent f8f5a10d98
commit 40aefa695b

View File

@@ -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