aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-09 00:26:16 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:32 +0200
commit4c08d7037a63f0881575f8bcd7f18880bd944801 (patch)
treeaddf6c5fffb13bcbb2162a7d032a312a261ef07e
parent1208fe94e0bc72b256a7eb98ac7b2ef06ec8b534 (diff)
downloadguix-4c08d7037a63f0881575f8bcd7f18880bd944801.tar.gz
guix-4c08d7037a63f0881575f8bcd7f18880bd944801.zip
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
-rw-r--r--gnu/packages/gnome-xyz.scm2
-rw-r--r--gnu/packages/maths.scm29
-rw-r--r--gnu/packages/python-science.scm29
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 glm@1.0.1 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 glm@1.0.1 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")