guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/361: gnu: python-readme-renderer: Adjust package style.


From: guix-commits
Subject: 36/361: gnu: python-readme-renderer: Adjust package style.
Date: Fri, 22 Nov 2024 06:00:07 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 8bd2a6a82cd13b370495592fbe26bcc54e9d2eda
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 27 21:39:02 2024 +0100

    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 b0e3f3437b..c92eaf0537 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32554,25 +32554,25 @@ positioning, and keyboard input.")
     (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
@@ -32581,14 +32581,15 @@ positioning, and keyboard input.")
            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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]