summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-07 16:30:33 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-02-07 16:30:44 +0000
commita80f4f67498630d75d2e39c7d68a8d20b5e17fb3 (patch)
tree7b1f0ad9a187d276fe2ba29a19a7dd1d6d85e6d1 /gnu/packages/python-xyz.scm
parent62b399b80e2dfb10e531d3e308320463c41bce97 (diff)
gnu: python-pyopengl: Enable tests.
* gnu/packages/python-xyz.scm (python-pyopengl) [build-system]: Swap to pyproject-build-system. [arguments] <tests?>: Enable them. <tests-flags>: Skip 5 tests. [native-inputs]: Add python-pytest, python-setuptools, python-pygame, and python-wheel. Change-Id: I090c862e25d537dff83fd9a5c7ec62e9e44decc1
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cec68d59b6f..07d31570f1c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -216,6 +216,7 @@
216 #:use-module (gnu packages fonts) 216 #:use-module (gnu packages fonts)
217 #:use-module (gnu packages fontutils) 217 #:use-module (gnu packages fontutils)
218 #:use-module (gnu packages freedesktop) 218 #:use-module (gnu packages freedesktop)
219 #:use-module (gnu packages game-development)
219 #:use-module (gnu packages gcc) 220 #:use-module (gnu packages gcc)
220 #:use-module (gnu packages gdb) 221 #:use-module (gnu packages gdb)
221 #:use-module (gnu packages geo) 222 #:use-module (gnu packages geo)
@@ -27320,11 +27321,18 @@ functionality like full case-folding for case-insensitive matches in Unicode.")
27320 (sha256 27321 (sha256
27321 (base32 27322 (base32
27322 "09syrsfrcknr1k2wmj05gfd5d0dyjfxzbipzbd0agv9775vwi9lf")))) 27323 "09syrsfrcknr1k2wmj05gfd5d0dyjfxzbipzbd0agv9775vwi9lf"))))
27323 (build-system python-build-system) 27324 (build-system pyproject-build-system)
27324 (arguments 27325 (arguments
27325 (list 27326 (list
27326 ;; Tests fail: AttributeError: 'GLXPlatform' object has no attribute 'OSMesa' 27327 #:test-flags
27327 #:tests? #f 27328 #~(list "-k" (string-join
27329 ;; XXX: Check why these test fail.
27330 (list "not test_get_read_fb_binding"
27331 "test_get_version"
27332 "test_glCallLists_twice2"
27333 "test_lookupint"
27334 "test_pointers")
27335 " and not "))
27328 #:phases 27336 #:phases
27329 #~(modify-phases %standard-phases 27337 #~(modify-phases %standard-phases
27330 (add-before 'build 'fix-paths 27338 (add-before 'build 'fix-paths
@@ -27347,6 +27355,11 @@ functionality like full case-folding for case-insensitive matches in Unicode.")
27347 (string-append "lib/lib" gl-library ".so")))) 27355 (string-append "lib/lib" gl-library ".so"))))
27348 ;; Not providing libgle. It seems to be very old. 27356 ;; Not providing libgle. It seems to be very old.
27349 ))))) 27357 )))))
27358 (native-inputs
27359 (list python-pytest
27360 python-setuptools
27361 python-pygame
27362 python-wheel))
27350 (inputs 27363 (inputs
27351 (list freeglut 27364 (list freeglut
27352 glu 27365 glu