From 823762b65d2a885472763255b59abde277947ed0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 28 Oct 2025 10:15:08 +0000 Subject: [PATCH] gnu: python-symengine: Move to algebra. * gnu/packages/python-xyz.scm (python-symengine): Move from here ... * gnu/packages/algebra.scm: ... to here. Change-Id: I8f170f44e0b51aac740035edcd6eb89e49ff86c8 --- gnu/packages/algebra.scm | 29 +++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 28 ---------------------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 7f033fcc97968d239e214b475b2d9eb50cffd1b7..9115f629e009947a7f05045c80fa712fa1dac7bf 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -45,6 +45,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) @@ -1053,6 +1054,34 @@ Optional thin wrappers allow usage of the library from other languages.") (license (list license:expat ;SymEngine license:bsd-3)))) ;3rd party code +(define-public python-symengine + (package + (name "python-symengine") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "symengine" version)) + (sha256 + (base32 "1w7hwavbxgikljy9m3p89k3x2zdhv81h9bh330aw4wb3qm74p7jf")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--pyargs" "symengine"))) + (native-inputs + (list cmake-minimal + python-cython + python-pytest + python-setuptools)) + (inputs + (list symengine)) + (home-page "https://github.com/symengine/symengine.py") + (synopsis "Python library providing wrappers to SymEngine") + (description + "This library provides a Python wrapper to SymEngine, a fast C++ symbolic +manipulation library.") + (license license:expat))) + (define-public ginac (package (name "ginac") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f866355bd115b6e679d06f71f1b6ac07d3e2d1fb..d5d5e6f2dc8eaffff1703e106fa595efaf9c4e12 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20050,34 +20050,6 @@ document.") (home-page "https://github.com/jmespath/jmespath.py") (license license:expat))) -(define-public python-symengine - (package - (name "python-symengine") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "symengine" version)) - (sha256 - (base32 "1w7hwavbxgikljy9m3p89k3x2zdhv81h9bh330aw4wb3qm74p7jf")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~(list "--pyargs" "symengine"))) - (native-inputs - (list cmake-minimal - python-cython - python-pytest - python-setuptools)) - (inputs - (list symengine)) - (home-page "https://github.com/symengine/symengine.py") - (synopsis "Python library providing wrappers to SymEngine") - (description - "This library provides a Python wrapper to SymEngine, a fast C++ symbolic -manipulation library.") - (license license:expat))) - (define-public python-asteval (package (name "python-asteval")