guix_mirror_bot pushed a commit to branch master
in repository guix.
commit d895ba55b695be2cf10e125bbb39f2b3f9333eb6
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Nov 10 01:28:38 2025 +0100
gnu: python-mujson: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-mujson):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I945102d9215fcc24c0f04003f30304316afe0821
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4dc3d96f5a..1ca2192249 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30583,17 +30583,22 @@ allows you, from Python code, to “fix” invalid
(X)HTML markup.")
(name "python-mujson")
(version "1.4")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "mujson" version))
- (sha256
- (base32
- "0wbj6r8yzsdx2b0kbldlkznr1a9nn33za2q9x3g0hbg420dwzn97"))))
- (build-system python-build-system)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mattgiles/mujson")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j0pcqyxpivk8nn7xx5d0pj40g22psd6v2r7l4m8b6h4hrdn9cij"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;No tests.
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/mattgiles/mujson")
(synopsis "Use the fastest JSON functions available at import time")
- (description "This package selects the fastest JSON functions available
-at import time.")
+ (description
+ "This module selects the fastest JSON functions available at import time
+in Python.")
(license license:expat)))
(define-public python-bashlex