[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: Add python-humanfriendly.
From: |
Ludovic Courtès |
Subject: |
04/11: gnu: Add python-humanfriendly. |
Date: |
Thu, 26 Oct 2017 01:30:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 92eb9a35355df03803f4dd087d0c2a9e57bd718e
Author: ng0 <address@hidden>
Date: Sat Oct 21 22:46:06 2017 +0000
gnu: Add python-humanfriendly.
* gnu/packages/python.scm (python-humanfriendly, python2-humanfriendly):
New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4b080a8..cddbd8c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1099,6 +1099,36 @@ etc.). The package is structured to make adding new
modules easy.")
"python"
(package-inputs pycrypto)))))))
+(define-public python-humanfriendly
+ (package
+ (name "python-humanfriendly")
+ (version "4.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "humanfriendly" version))
+ (sha256
+ (base32
+ "0pisgizjql86785jchfjv217g0lsgk114g2lja5j4y3lsc3b9szi"))))
+ (build-system python-build-system)
+ (arguments
+ `(;; XXX: Tests depend on coloredlogs, which in turn depends on
humanfriendly.
+ #:tests? #f))
+ (propagated-inputs
+ `(("python-monotonic" ,python-monotonic)))
+ (home-page "https://humanfriendly.readthedocs.io")
+ (synopsis "Human-friendly input and output in Python")
+ (description
+ "The functions and classes in @code{humanfriendly} can be used to make
+text interfaces more user-friendly. It includes tools to parse and format
+numbers, file sizes, and timespans, timers for long-running operations, menus
+to allow the user to choose from a list of options, and terminal interaction
+helpers.")
+ (license license:expat)))
+
+(define-public python2-humanfriendly
+ (package-with-python2 python-humanfriendly))
+
(define-public python-eventlet
(package
(name "python-eventlet")
- branch master updated (1765056 -> b1e9837), Ludovic Courtès, 2017/10/26
- 01/11: guix package: '--list-available' does not show superseded packages., Ludovic Courtès, 2017/10/26
- 03/11: challenge: Display an overall summary., Ludovic Courtès, 2017/10/26
- 02/11: substitute: Don't send more than 1000 requests in a row., Ludovic Courtès, 2017/10/26
- 05/11: gnu: Add python-capturer., Ludovic Courtès, 2017/10/26
- 07/11: gnu: Add python-coloredlogs., Ludovic Courtès, 2017/10/26
- 09/11: gnu: Add python2-roca-detect., Ludovic Courtès, 2017/10/26
- 08/11: gnu: Add python2-pgpdump., Ludovic Courtès, 2017/10/26
- 11/11: gnu: virt-manager: Enable persistent configuration support., Ludovic Courtès, 2017/10/26
- 04/11: gnu: Add python-humanfriendly.,
Ludovic Courtès <=
- 10/11: gnu: virt-manager: Wrap with GSettings schema and GIO modules search paths., Ludovic Courtès, 2017/10/26
- 06/11: gnu: Add python-verboselogs., Ludovic Courtès, 2017/10/26