diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2025-11-29 17:09:40 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2025-12-07 07:57:25 +0100 |
| commit | 38bfd1d3aef3498c6d49d811cf92616c7f022da1 (patch) | |
| tree | 328c6238e54c7a4c94ed5b590887ef1fab28d029 /gnu | |
| parent | 944d5bc08a908955c560c44ce999f64aaab37ac6 (diff) | |
gnu: Remove python-pygame-sdl2.
This package was only used by python-renpy, which vendors it as of version 8.5.
* gnu/packages/game-development.scm (python-pygame-sdl2): Delete variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/game-development.scm | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 9100a59f914..ada748aebb1 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm | |||
| @@ -1621,56 +1621,6 @@ drop selectors, frames, images, labels, selectors, tables, text inputs, | |||
| 1621 | color switches, and many more, with multiple options to customize.") | 1621 | color switches, and many more, with multiple options to customize.") |
| 1622 | (license license:expat))) | 1622 | (license license:expat))) |
| 1623 | 1623 | ||
| 1624 | (define-public python-pygame-sdl2 | ||
| 1625 | (let ((real-version "2.1.0") | ||
| 1626 | (renpy-version "8.3.0")) | ||
| 1627 | (package | ||
| 1628 | (inherit python-pygame) | ||
| 1629 | (name "python-pygame-sdl2") | ||
| 1630 | (version (string-append real-version "+renpy" renpy-version)) | ||
| 1631 | (source | ||
| 1632 | (origin | ||
| 1633 | (method url-fetch) | ||
| 1634 | (uri (string-append "https://www.renpy.org/dl/" renpy-version | ||
| 1635 | "/pygame_sdl2-" version ".tar.gz")) | ||
| 1636 | (sha256 (base32 "1p8a4v3r5vjxhiwxdmqqhkl38zav6c4a6w6v2nixzdhzyfkgk16n")) | ||
| 1637 | (modules '((guix build utils))) | ||
| 1638 | (snippet | ||
| 1639 | '(begin | ||
| 1640 | ;; drop generated sources | ||
| 1641 | (delete-file-recursively "gen") | ||
| 1642 | (delete-file-recursively "gen3") | ||
| 1643 | (delete-file-recursively "gen-static"))))) | ||
| 1644 | (build-system python-build-system) | ||
| 1645 | (arguments | ||
| 1646 | (list | ||
| 1647 | #:tests? #f ; tests require pygame to be installed first | ||
| 1648 | #:phases | ||
| 1649 | #~(modify-phases %standard-phases | ||
| 1650 | (add-after 'set-paths 'set-sdl-vars | ||
| 1651 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1652 | (setenv "PYGAME_SDL2_CFLAGS" | ||
| 1653 | (string-append "-I" | ||
| 1654 | (assoc-ref inputs "sdl-union") | ||
| 1655 | "/include/SDL2 -D_REENTRANT")) | ||
| 1656 | (setenv "PYGAME_SDL2_LDFLAGS" | ||
| 1657 | (string-append "-L" | ||
| 1658 | (assoc-ref inputs "sdl-union") | ||
| 1659 | "/lib -Wl,-rpath," | ||
| 1660 | (assoc-ref inputs "sdl-union") | ||
| 1661 | "/lib -Wl,--enable-new-dtags -lSDL2"))))))) | ||
| 1662 | (inputs | ||
| 1663 | (list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))) | ||
| 1664 | (native-inputs | ||
| 1665 | (list python-cython-0)) | ||
| 1666 | (home-page "https://www.renpy.org/") | ||
| 1667 | (synopsis "Reimplementation of the Pygame API using SDL2") | ||
| 1668 | (description "Pygame_SDL2 reimplements the Pygame API using SDL2, | ||
| 1669 | staying close to the original, but also adding some SDL2-specific features. | ||
| 1670 | While it aims to be used as a drop-in replacement, it appears to be | ||
| 1671 | developed mainly for Ren'py.") | ||
| 1672 | (license (list license:lgpl2.1 license:zlib))))) | ||
| 1673 | |||
| 1674 | (define-public python-pygame-ce | 1624 | (define-public python-pygame-ce |
| 1675 | (package | 1625 | (package |
| 1676 | (name "python-pygame-ce") | 1626 | (name "python-pygame-ce") |
