guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit dd8d7753b9aff5ab5c7d960b490013fd58af1429
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Sep 16 20:45:54 2025 +0100
gnu: python-yamlordereddictloader: Adjust style.
The deprecation notice is added which mentioned by upstream.
* gnu/packages/python-xyz.scm (python-yamlordereddictloader): Re-oder
fields to looks similar to others.
[arguments] <tests?>: No tests.
[description]: Start from a new line, fix fill-column indentation.
Change-Id: I6032b7a8008f9c32625e9c9b3c0327713a651ca9
---
gnu/packages/python-xyz.scm | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index eb82417373..d71ff44da9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28484,32 +28484,37 @@ syntax validity, but for weirdnesses like key
repetition and cosmetic problems
such as lines length, trailing spaces, indentation, etc.")
(license license:gpl3+)))
+;; XXX: Deprecated, the <https://github.com/Phynix/yamlloader> project provide
+;; an improved version of this library with unit tests, performance
+;; improvements (by providing access to the C implementation of PyYAML) and is
+;; more actively developed.
(define-public python-yamlordereddictloader
(package
(name "python-yamlordereddictloader")
(version "0.4.2")
- (home-page "https://github.com/fmenabe/python-yamlordereddictloader")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url home-page)
+ (url "https://github.com/fmenabe/python-yamlordereddictloader")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1rwvasdmfq7lbd2bm7vmx759fv535cp5ndyhf845fqd86mr7a94c"))))
+ (base32 "1rwvasdmfq7lbd2bm7vmx759fv535cp5ndyhf845fqd86mr7a94c"))))
(build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools))
(propagated-inputs
(list python-pyyaml))
- (native-inputs
- (list python-setuptools
- python-wheel))
+ (home-page "https://github.com/fmenabe/python-yamlordereddictloader")
(synopsis "Loader and a dumper for PyYAML")
- (description "yamlordereddictloader is a python package that provides a
-loader and a dumper for PyYAML allowing to keep items order when loading a
-file (by putting them in OrderedDict objects) and to manage OrderedDict
-objects when dumping to a file.")
+ (description
+ "yamlordereddictloader is a Python package that provides a loader and a
+dumper for PyYAML allowing to keep items order when loading a file (by putting
+them in OrderedDict objects) and to manage OrderedDict objects when dumping to
+a file.")
(license license:expat)))
(define-public python-yapf