guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: Add python2-backports-shutil-get-terminal-size.


From: Danny Milosavljevic
Subject: 01/05: gnu: Add python2-backports-shutil-get-terminal-size.
Date: Mon, 6 Mar 2017 04:01:18 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit ec0742133297ac02b684ee1e81d1143de06956f7
Author: Thomas Danckaert <address@hidden>
Date:   Tue Feb 21 13:33:20 2017 +0100

    gnu: Add python2-backports-shutil-get-terminal-size.
    
    * gnu/packages/python.scm (python2-backports-shutil-get-terminal-size): New
    variable.
    
    Signed-off-by: Danny Milosavljevic <address@hidden>
---
 gnu/packages/python.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5631c7a..0d1dd18 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -33,7 +33,7 @@
 ;;; Copyright © 2016 Arun Isaac <address@hidden>
 ;;; Copyright © 2016, 2017 Julien Lepiller <address@hidden>
 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <address@hidden>
-;;; Copyright © 2016 Thomas Danckaert <address@hidden>
+;;; Copyright © 2016, 2017 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2017 Carlo Zancanaro <address@hidden>
 ;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
 ;;;
@@ -6087,6 +6087,29 @@ connection to each user.")
 (define-public python2-backports-abc
   (package-with-python2 python-backports-abc))
 
+(define-public python2-backports-shutil-get-terminal-size
+  (package
+    (name "python2-backports-shutil-get-terminal-size")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "backports.shutil_get_terminal_size" version))
+       (sha256
+        (base32
+         "107cmn7g3jnbkp826zlj8rrj19fam301qvaqf0f3905f5217lgki"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "https://github.com/chrippa/backports.shutil_get_terminal_size";)
+    (synopsis "Backport of Python 3.3's @code{shutil.get_terminal_size}")
+    (description
+     "This package provides a backport of the @code{get_terminal_size
+function} from Python 3.3's @code{shutil}.
+Unlike the original version it is written in pure Python rather than C,
+so it might be a tiny bit slower.")
+    (license license:expat)))
+
 (define-public python-waf
   (package
     (name "python-waf")



reply via email to

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