gnu: Add python-verboselogs.

* gnu/packages/python.scm (python-verboselogs, python2-verboselogs): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
ng0 2017-10-21 23:12:17 +00:00 committed by Ludovic Courtès
parent 2a81537f2f
commit 7d4147634b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 26 additions and 0 deletions

View File

@ -1157,6 +1157,32 @@ for additional processing.")
(define-public python2-capturer (define-public python2-capturer
(package-with-python2 python-capturer)) (package-with-python2 python-capturer))
(define-public python-verboselogs
(package
(name "python-verboselogs")
(version "1.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "verboselogs" version))
(sha256
(base32
"09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3"))))
(build-system python-build-system)
(native-inputs
`(("python-mock" ,python-mock)
("python-astroid" ,python-astroid)
("python-pylint" ,python-pylint)))
(home-page "https://verboselogs.readthedocs.io")
(synopsis "Verbose logging level for Python's logging module")
(description
"The @code{verboselogs} package extends Python's @code{logging} module to
add the log levels NOTICE, SPAM, SUCCESS and VERBOSE.")
(license license:expat)))
(define-public python2-verboselogs
(package-with-python2 python-verboselogs))
(define-public python-eventlet (define-public python-eventlet
(package (package
(name "python-eventlet") (name "python-eventlet")