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
This commit is contained in:
Sharlatan Hellseher 2025-09-16 20:45:54 +01:00
parent 37d272c985
commit a9f80514d3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -28467,32 +28467,37 @@ syntax validity, but for weirdnesses like key repetition and cosmetic problems
such as lines length, trailing spaces, indentation, etc.") such as lines length, trailing spaces, indentation, etc.")
(license license:gpl3+))) (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 (define-public python-yamlordereddictloader
(package (package
(name "python-yamlordereddictloader") (name "python-yamlordereddictloader")
(version "0.4.2") (version "0.4.2")
(home-page "https://github.com/fmenabe/python-yamlordereddictloader")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url home-page) (url "https://github.com/fmenabe/python-yamlordereddictloader")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1rwvasdmfq7lbd2bm7vmx759fv535cp5ndyhf845fqd86mr7a94c"))))
"1rwvasdmfq7lbd2bm7vmx759fv535cp5ndyhf845fqd86mr7a94c"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ;no tests
(native-inputs
(list python-setuptools))
(propagated-inputs (propagated-inputs
(list python-pyyaml)) (list python-pyyaml))
(native-inputs (home-page "https://github.com/fmenabe/python-yamlordereddictloader")
(list python-setuptools
python-wheel))
(synopsis "Loader and a dumper for PyYAML") (synopsis "Loader and a dumper for PyYAML")
(description "yamlordereddictloader is a python package that provides a (description
loader and a dumper for PyYAML allowing to keep items order when loading a "yamlordereddictloader is a Python package that provides a loader and a
file (by putting them in OrderedDict objects) and to manage OrderedDict dumper for PyYAML allowing to keep items order when loading a file (by putting
objects when dumping to a file.") them in OrderedDict objects) and to manage OrderedDict objects when dumping to
a file.")
(license license:expat))) (license license:expat)))
(define-public python-yapf (define-public python-yapf