summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-23 22:03:57 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-01-03 15:18:56 +0100
commit6c0309adfa7147bb3da178e4b53cbe15bf3dbc53 (patch)
treefbfd0cda9e09d24e3a44bce5d28a3ac8cea28c89 /gnu
parentf98affddb44e5064ba768c750a32c3b3544ccf75 (diff)
gnu: python-pyscroll: Update to 2.31-1.31e1c28.
* gnu/packages/game-development.scm (python-pyscroll): Update to 2.31-1.31e1c28. [source]: Use git-fetch. [build-system]: Use pyproject-build-system. [native-inputs]: Add python-pytest and python-setuptools. Change-Id: I625a61e36c8419301a2f353941ad9aaf6859a3a5 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/game-development.scm39
1 files changed, 24 insertions, 15 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index ff72864e77..7dcb4da927 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -677,22 +677,31 @@ possible, and it also makes the SGE easy to learn.")
(license license:lgpl3+)))
(define-public python-pyscroll
- (package
- (name "python-pyscroll")
- (version "2.31")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pyscroll" version))
- (sha256
- (base32
- "0w3c58mkkbsyvx9w9hwdizk20pbds800m7v9vg49ydw440dha0hr"))))
- (build-system python-build-system)
- (propagated-inputs (list python-pygame))
- (home-page "https://github.com/bitcraft/pyscroll")
- (synopsis "Fast scrolling maps library for pygame")
- (description "@code{pyscroll} is a simple and fast module
+ ;; No tags, no releases, not clear which commit corresponds to which PyPI
+ ;; release. But PyPI has no tests, so need to use git.
+ (let ((commit "31e1c282d09542ec89c6c1ac3ee6a1ff991ff5c2")
+ (revision "1"))
+ (package
+ (name "python-pyscroll")
+ (version (git-version "2.31" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bitcraft/pyscroll")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mqi8ccxi7vk63hw7klxjzd8jp6lnnw5q70nvrzmgq0jxpp61h7y"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (propagated-inputs (list python-pygame))
+ (home-page "https://github.com/bitcraft/pyscroll")
+ (synopsis "Fast scrolling maps library for pygame")
+ (description "@code{pyscroll} is a simple and fast module
for animated scrolling maps for your new or existing game.")
- (license license:lgpl3+)))
+ (license license:lgpl3+))))
(define-public python-pytmx
(package