gnu: python-readme-renderer: Adjust package style.

* gnu/packages/python-xyz.scm (python-readme-renderer): Fix indentation.
[native-inputs]: Add python-setuptools.

Change-Id: I47cef84089384d2cf760c166fed9147863d1a415
This commit is contained in:
Ricardo Wurmus 2024-02-27 21:39:02 +01:00 committed by Sharlatan Hellseher
parent 33210bced4
commit 2ee8d8a63d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -32661,25 +32661,25 @@ (define-public python-readme-renderer
(name "python-readme-renderer") (name "python-readme-renderer")
(version "41.0") (version "41.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "readme_renderer" version)) (uri (pypi-uri "readme_renderer" version))
(sha256 (sha256
(base32 (base32
"1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg")))) "1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
'(list "-k" '(list "-k"
(string-append (string-append
;; These tests fail due to slight differences in the generated ;; These tests fail due to slight differences in the generated
;; vs expected HTML, e.g. because of difference in whitespace or ;; vs expected HTML, e.g. because of difference in whitespace or
;; line breaks. (See also ;; line breaks. (See also
;; https://github.com/pypa/readme_renderer/issues/234). ;; https://github.com/pypa/readme_renderer/issues/234).
"not test_md_fixtures[test_CommonMark_008.md]" "not test_md_fixtures[test_CommonMark_008.md]"
" and not test_rst_fixtures[test_rst_008.rst]" " and not test_rst_fixtures[test_rst_008.rst]"
" and not GFM")))) " and not GFM"))))
(propagated-inputs (propagated-inputs
(list python-bleach (list python-bleach
python-docutils python-docutils
@ -32688,14 +32688,15 @@ (define-public python-readme-renderer
python-cmarkgfm)) ;required by postorius python-cmarkgfm)) ;required by postorius
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-setuptools
python-wheel)) python-wheel))
(home-page "https://github.com/pypa/readme_renderer") (home-page "https://github.com/pypa/readme_renderer")
(synopsis "Render README files in Warehouse") (synopsis "Render README files in Warehouse")
(description (description
"Readme Renderer is a library that will safely render arbitrary README "Readme Renderer is a library that will safely render arbitrary README
files into HTML. It is designed to be used in Warehouse to render the files into HTML. It is designed to be used in Warehouse to render the
@code{long_description} for packages. It can handle Markdown, reStructuredText, @code{long_description} for packages. It can handle Markdown,
and plain text.") reStructuredText, and plain text.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python-lazr-delegates (define-public python-lazr-delegates