GNU bug report logs - #25834
Update scientific Python packages

Previous Next

Package: guix-patches;

Reported by: Thomas Danckaert <post <at> thomasdanckaert.be>

Date: Wed, 22 Feb 2017 10:31:01 UTC

Severity: normal

Tags: patch

Merged with 25705

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 25834 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Danckaert <thomas.danckaert <at> gmail.com>
To: 25834 <at> debbugs.gnu.org
Cc: Thomas Danckaert <post <at> thomasdanckaert.be>
Subject: [PATCH 1/7] gnu: Add python2-backports-shutil-get-terminal-size.
Date: Wed, 22 Feb 2017 12:22:47 +0100
From: Thomas Danckaert <post <at> thomasdanckaert.be>

* 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 <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2016, 2017 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
-;;; Copyright © 2016 Thomas Danckaert <post <at> thomasdanckaert.be>
+;;; Copyright © 2016, 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
 ;;; Copyright © 2017 Carlo Zancanaro <carlo <at> zancanaro.id.au>
 ;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis <at> gmail.com>
 ;;;
@@ -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





This bug report was last modified 8 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.