guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5c2a4e8d890195a5fb545984b391769fb4823e29
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Sep 19 00:35:28 2026 +0100
gnu: python-mathics-pygments: Update to 10.0.0.
* gnu/packages/maths.scm (python-mathics-pygments): Update to 10.0.0.
[source]: Switch to git-fetch.
[home-page]: Use official URL instead of GitHub.
---
gnu/packages/maths.scm | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9dfd30dcad6..4d57e273d88 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -11344,15 +11344,21 @@ the Wolfram language.")
(license license:gpl3+)))
(define-public python-mathics-pygments
+ ;; TODO: Package name has been changed upstream, as seen in pyproject.toml:
+ ;; name = "Mathics3_pygments"
+ ;; See: <https://codeberg.org/guix/guix/issues/11317>.
(package
(name "python-mathics-pygments")
- (version "1.0.4")
+ (version "10.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "mathics_pygments" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Mathics3/Mathics3-pygments")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1iagdic8f0yjx01kdds40jfcxcpdbrd3i0ywydl01dhyyvd2yjk9"))))
+ (base32 "0j290iagz0k17rzjj09wa7jwmkhdqps21z8z8cliy2hnybx4zlkj"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
@@ -11360,9 +11366,10 @@ the Wolfram language.")
(propagated-inputs
(list python-mathics-scanner
python-pygments))
- (home-page "http://github.com/Mathics3/mathics-pygments/")
+ (home-page "https://mathics.org/")
(synopsis "Wolfram language lexer for Pygments")
- (description "This package provides a Wolfram language lexer for
Pygments.")
+ (description
+ "This package provides a Wolfram language lexer for Pygments.")
(license license:expat)))
(define-public python-mathics-core