guix-commits
[Top][All Lists]
Advanced

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

06/10: gnu: python2-ttystatus: Add Python 3 variant.


From: guix-commits
Subject: 06/10: gnu: python2-ttystatus: Add Python 3 variant.
Date: Sat, 22 May 2021 10:08:35 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 10c8aa039da5a7bad43581a610cf616f96335d6a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat May 22 14:38:31 2021 +0200

    gnu: python2-ttystatus: Add Python 3 variant.
    
    * gnu/packages/python-xyz.scm (python2-ttystatus): Rename to ...
    (python-ttystatus): ... this.
    [name, native-inputs, arguments]: Adjust accordingly.
    [descriptions]: Remove mentions of Python version and add markup.
    (python2-ttystatus): Use PACKAGE-WITH-PYTHON2.
---
 gnu/packages/python-xyz.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b42b4a6..bd716f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16892,9 +16892,9 @@ as parsing the command line for options, and iterating 
over input files.")
 (define-public python2-cliapp
   (package-with-python2 python-cliapp))
 
-(define-public python2-ttystatus
+(define-public python-ttystatus
   (package
-    (name "python2-ttystatus")
+    (name "python-ttystatus")
     (version "0.38")
     (source
      (origin
@@ -16908,11 +16908,10 @@ as parsing the command line for options, and 
iterating over input files.")
        (file-name (git-file-name name version))))
     (build-system python-build-system)
     (native-inputs
-     `(("python2-coverage-test-runner" ,python2-coverage-test-runner)
-       ("python2-pep8" ,python2-pep8)))
+     `(("python-coverage-test-runner" ,python-coverage-test-runner)
+       ("python-pep8" ,python-pep8)))
     (arguments
-     `(#:python ,python-2
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
          ;; check phase needs to be run before the build phase. If not,
          ;; coverage-test-runner looks for tests for the built source files,
@@ -16923,13 +16922,15 @@ as parsing the command line for options, and 
iterating over input files.")
     (home-page "https://liw.fi/ttystatus/";)
     (synopsis "Python library for showing progress reporting and
 status updates on terminals")
-    (description "@code{python2-ttystatus} is a python library for
-showing progress reporting and status updates on terminals, for
-command line programs.  Output is automatically adapted to the width
-of the terminal: truncated if it does not fit, and resized if the
-terminal size changes.")
+    (description "@code{ttystatus} is a Python library for showing progress
+reporting and status updates on terminals, for command line programs.
+Output is automatically adapted to the width of the terminal: truncated
+if it does not fit, and resized if the terminal size changes.")
     (license license:gpl3+)))
 
+(define-public python2-ttystatus
+  (package-with-python2 python-ttystatus))
+
 (define-public python2-tracing
   (package
     (name "python2-tracing")



reply via email to

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