diff options
Diffstat (limited to 'gnu/packages/game-development.scm')
-rw-r--r-- | gnu/packages/game-development.scm | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 4d60ff60d1..45b2504bcf 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1490,6 +1490,10 @@ It offers the following features: (base32 "08ddhywdy2qg17m592ng3yr0p1ih96irg8wg729g75hsxxq9ipks")))) (build-system gnu-build-system) + (arguments + `(#:configure-flags + ;; Disable added pointer type checks (quesoglc no longer maintained) + '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"))) (native-inputs (list pkg-config)) (inputs (list fontconfig freeglut fribidi glew)) (home-page "https://quesoglc.sourceforge.net") @@ -1573,38 +1577,40 @@ and multimedia programs in the Python language.") (define-public python-pygame-menu (package (name "python-pygame-menu") - (version "4.5.1") + (version "4.5.4") (source ;; Tests not included in release. (origin (method git-fetch) (uri (git-reference - (url "https://github.com/ppizarror/pygame-menu") - (commit version))) + (url "https://github.com/ppizarror/pygame-menu") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0xd5d6nfkd5bp2zfq77yglp6mz043w28zprfz7savgmph5kvdnfh")))) + (base32 "1a474rvjkm9d45h0bhgaf9h21r3lcgqd27686fav8601395jgwrg")))) (build-system pyproject-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'check 'prepare-test-environment - (lambda _ - (setenv "HOME" (getcwd)))) - (add-before 'check 'skip-certain-tests - (lambda _ - (substitute* "test/test_font.py" - (("test_font_argument") "skip_test_font_argument") - (("test_system_load") "skip_test_system_load")) - (substitute* "test/test_baseimage.py" - ;; Tuples differ: (111, 110) != (110, 109) - (("test_invalid_image") "skip_test_invalid_image") - (("test_scale") "skip_test_scale"))))))) - (propagated-inputs (list python-pygame python-pyperclip - python-typing-extensions)) - (native-inputs (list python-nose2 python-setuptools python-wheel)) + (list + #:test-flags + ;; AssertionError: Tuples differ: (111, 110) != (110, 109) + #~(list "--deselect=test/test_baseimage.py::BaseImageTest::test_invalid_image" + ;; IndexError: list index out of range + "--deselect=test/test_font.py::FontTest::test_font_argument" + ;;IndexError: pop from empty list + "--deselect=test/test_font.py::FontTest::test_system_load") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-pytest + python-setuptools-next)) + (propagated-inputs + (list python-pygame + python-pyperclip + python-typing-extensions)) (home-page "https://pygame-menu.readthedocs.io") (synopsis "Menu for pygame") (description |