[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25834: [PATCH 1/7] gnu: Add python2-backports-shutil-get-terminal-si
From: |
Thomas Danckaert |
Subject: |
bug#25834: [PATCH 1/7] gnu: Add python2-backports-shutil-get-terminal-size. |
Date: |
Wed, 22 Feb 2017 12:22:47 +0100 |
From: Thomas Danckaert <address@hidden>
* gnu/packages/python.scm (python2-backports-shutil-get-terminal-size): New
variable.
---
gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 432298472..13906153c 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>
;;;
@@ -5787,6 +5787,32 @@ connection to each user.")
(define-public python2-backports-abc
(package-with-python2 python-backports-abc))
+(define-public python2-backports-shutil-get-terminal-size
+ (package-with-python2
+ (package
+ (name "python-backports-shutil-get-terminal-size")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/ec/9c/"
+ "368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/"
+ "backports.shutil_get_terminal_size-" version ".tar.gz"))
+ (sha256
+ (base32
+ "107cmn7g3jnbkp826zlj8rrj19fam301qvaqf0f3905f5217lgki"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/chrippa/backports.shutil_get_terminal_size")
+ (synopsis
+ "Backport of Python 3.3's @code{shutil.get_terminal_size()}")
+ (description
+ "A backport of the get_terminal_size function from Python 3.3's 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")
--
2.11.1
bug#25834: [PATCH 4/7] gnu: python-numpy: Update to 1.12.0., Thomas Danckaert, 2017/02/22
bug#25834: [PATCH 2/7] gnu: Add python-colorspacious., Thomas Danckaert, 2017/02/22