diff options
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7365de5d03..99421206d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27735,93 +27735,6 @@ compatible with the standard @code{re} module, but offers additional functionality like full case-folding for case-insensitive matches in Unicode.") (license license:psfl))) -(define-public python-pyopengl - (package - (name "python-pyopengl") - (version "3.1.9") - (source - (origin - (method url-fetch) - (uri (pypi-uri "PyOpenGL" version)) - (sha256 - (base32 - "09syrsfrcknr1k2wmj05gfd5d0dyjfxzbipzbd0agv9775vwi9lf")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - #~(list "-k" (string-join - ;; XXX: Check why these test fail. - (list "not test_get_read_fb_binding" - "test_get_version" - "test_glCallLists_twice2" - "test_glmultidraw" - "test_lookupint" - "test_numpyConversion" - "test_pointers") - " and not ")) - #:phases - #~(modify-phases %standard-phases - (add-before 'build 'fix-paths - (lambda _ - (substitute* '("OpenGL/platform/ctypesloader.py") - (("filenames_to_try = \\[\\]") "filenames_to_try = [name]")) - (substitute* '("OpenGL/platform/glx.py" - "OpenGL/platform/egl.py" - "OpenGL/platform/osmesa.py" - "OpenGL/platform/darwin.py" - "tests/check_glut_load.py") - (("'GLU'") - (format #f "'~a/~a'" #$(this-package-input "glu") - "lib/libGLU.so")) - (("'glut',") - (format #f "'~a/~a'," #$(this-package-input "freeglut") - "lib/libglut.so")) - (("'(GL|EGL|GLESv1_CM|GLESv2|OSMesa)'" all gl-library) - (format #f "'~a/~a'" #$(this-package-input "mesa") - (string-append "lib/lib" gl-library ".so")))) - ;; Not providing libgle. It seems to be very old. - ))))) - (native-inputs - (list python-cython - python-numpy - python-pygame - python-pytest - python-setuptools - python-wheel)) - (inputs - (list freeglut - glu - mesa)) - (home-page "https://pyopengl.sourceforge.net") - (synopsis "Standard OpenGL bindings for Python") - (description - "PyOpenGL is the most common cross platform Python binding to OpenGL and -related APIs. The binding is created using the standard @code{ctypes} -library.") - (license license:bsd-3))) - -(define-public python-pyopengl-accelerate - (package - (inherit python-pyopengl) - (name "python-pyopengl-accelerate") - (version "3.1.9") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pyopengl_accelerate" version)) - (sha256 - (base32 - "1ww6kbyj1hshxfi3gskkygv1w2f7klzj9jcyfpzihn4pfry7r5c5")))) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'fix-paths)))) - (synopsis "Acceleration code for PyOpenGL") - (description - "This is the Cython-coded accelerator module for PyOpenGL."))) - (define-public python-rencode (package (name "python-rencode") |