Subject: bug#26524: [PATCH 4/5] gnu: Add python2-steadymark

From: Marius Bakke <[email-masked]>
Date: Sun, 04 Jun 2017 14:44:15 +0200

Muriithi Frederick Muriuki <[email-masked]> writes:

> * gnu/packages/python.scm (python2-steadymark): New variable.

Applied with this diff (description wrapped at 80 chars):

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c8701f968..ee216116c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15017,7 +15017,7 @@ renderers (e.g. man pages or LaTeX).")
   ;; due to its dependence on couleur that has no support
   ;; for python3
   (package
-    (name "python-steadymark")
+    (name "python2-steadymark")
     (version "0.7.3")
     (source
      (origin
@@ -15035,21 +15035,18 @@ renderers (e.g. man pages or LaTeX).")
      `(#:python ,python-2
        #:phases
        (modify-phases %standard-phases
-         (add-before 'build
-             'patch-setup-py
-           (lambda* (#:key inputs #:allow-other-keys)
-             ;; Update requirements from dependecy==version
+         (add-before 'build 'patch-setup-py
+           (lambda _
+             ;; Update requirements from dependency==version
              ;; to dependency>=version
              (substitute* "setup.py"
                (("==") ">="))
              #t)))))
-    (home-page
-     "http://github.com/gabrielfalcao/steadymark")
-    (synopsis
-     "Markdown-based test runner for python. Good for github projects")
+    (home-page "https://github.com/gabrielfalcao/steadymark")
+    (synopsis "Markdown-based test runner for python")
     (description
-     "@code{Steadymark} allows documentation to be written in github-flavoured markdown.
-The documentation may contain snippets of code surrounded by python code blocks and
-@code{Steadymark} will find these snippets and run them, making sure that there are no old
-malfunctional examples in the documentation examples.")
+     "@code{Steadymark} allows documentation to be written in github-flavoured
+markdown.  The documentation may contain snippets of code surrounded by python
+code blocks and @code{Steadymark} will find these snippets and run them, making
+sure that there are no old malfunctional examples in the documentation examples.")
     (license license:expat)))