andreas pushed a commit to branch python-team
in repository guix.

commit 4c08d7037a63f0881575f8bcd7f18880bd944801
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Apr 9 00:26:16 2025 +0100

    gnu: python-pyglm: Move to maths.
    
    * gnu/packages/python-science.scm (python-pyglm): Move from here ...
    * gnu/packages/maths.scm: ... to here.
    
    * gnu/packages/gnome-xyz.scm: Add (gnu packages maths); remove (gnu
    packages python-science).
    
    Change-Id: I49ab732c1070210d005f8753c1e894c9abc3ee8b
---
 gnu/packages/gnome-xyz.scm      |  2 +-
 gnu/packages/maths.scm          | 29 +++++++++++++++++++++++++++++
 gnu/packages/python-science.scm | 29 -----------------------------
 3 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 8e2ffb49cb..d2483468ab 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -67,10 +67,10 @@
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages inkscape)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0bb1df4b5d..55bacbea3c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4452,6 +4452,35 @@ bindings to almost all functions of PETSc.")
     ;; <https://github.com/dimpase/primecountpy/issues/16>.
     (license license:gpl2+)))
 
+(define-public python-pyglm
+  (package
+    (name "python-pyglm")
+    (version "2.8.1")
+    (source
+     (origin
+       ;; Test files are not included in the archive in pypi.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Zuzu-Typ/PyGLM";)
+             (commit version)
+             ;; XXX: Attempt to use Guix's [email protected] failed, try to figure out
+             ;; how to fix it.
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1ra54m0pb5aca7q6ymappjsyxdzdy17yz8rrhlql04k0p9lnf1v8"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-wheel))
+    (home-page "https://github.com/Zuzu-Typ/PyGLM";)
+    (synopsis "OpenGL Mathematics library for Python")
+    (description "PyGLM is a Python extension library which brings the OpenGL
+Mathematics (GLM) library to Python.")
+    (license license:zlib)))
+
 (define-public python-quadpy
   (package
     (name "python-quadpy")
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b713e989b9..e55a2aa80b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2908,35 +2908,6 @@ and more
 @end itemize")
     (license license:gpl3)))
 
-(define-public python-pyglm
-  (package
-    (name "python-pyglm")
-    (version "2.8.1")
-    (source
-     (origin
-       ;; Test files are not included in the archive in pypi.
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/Zuzu-Typ/PyGLM";)
-             (commit version)
-             ;; XXX: Attempt to use Guix's [email protected] failed, try to figure out
-             ;; how to fix it.
-             (recursive? #t)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1ra54m0pb5aca7q6ymappjsyxdzdy17yz8rrhlql04k0p9lnf1v8"))))
-    (build-system pyproject-build-system)
-    (native-inputs
-     (list python-pytest
-           python-setuptools
-           python-wheel))
-    (home-page "https://github.com/Zuzu-Typ/PyGLM";)
-    (synopsis "OpenGL Mathematics library for Python")
-    (description "PyGLM is a Python extension library which brings the OpenGL
-Mathematics (GLM) library to Python.")
-    (license license:zlib)))
-
 (define-public python-dask-expr
   (package
     (name "python-dask-expr")

Reply via email to