From 2ee8d8a63d8f76fadc76d9343852a6d4426cd6b7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 27 Feb 2024 21:39:02 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 422ba34498..5ead23b687 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32661,25 +32661,25 @@ (define-public python-readme-renderer (name "python-readme-renderer") (version "41.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "readme_renderer" version)) - (sha256 - (base32 - "1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg")))) + (origin + (method url-fetch) + (uri (pypi-uri "readme_renderer" version)) + (sha256 + (base32 + "1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg")))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" - (string-append - ;; These tests fail due to slight differences in the generated - ;; vs expected HTML, e.g. because of difference in whitespace or - ;; line breaks. (See also - ;; https://github.com/pypa/readme_renderer/issues/234). - "not test_md_fixtures[test_CommonMark_008.md]" - " and not test_rst_fixtures[test_rst_008.rst]" - " and not GFM")))) + (string-append + ;; These tests fail due to slight differences in the generated + ;; vs expected HTML, e.g. because of difference in whitespace or + ;; line breaks. (See also + ;; https://github.com/pypa/readme_renderer/issues/234). + "not test_md_fixtures[test_CommonMark_008.md]" + " and not test_rst_fixtures[test_rst_008.rst]" + " and not GFM")))) (propagated-inputs (list python-bleach python-docutils @@ -32688,14 +32688,15 @@ (define-public python-readme-renderer python-cmarkgfm)) ;required by postorius (native-inputs (list python-pytest + python-setuptools python-wheel)) (home-page "https://github.com/pypa/readme_renderer") (synopsis "Render README files in Warehouse") (description "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 -@code{long_description} for packages. It can handle Markdown, reStructuredText, -and plain text.") +@code{long_description} for packages. It can handle Markdown, +reStructuredText, and plain text.") (license license:asl2.0))) (define-public python-lazr-delegates