* [bug#42631] [PATCH] gnu: Add python-wurlitzer.
@ 2020-07-31 13:38 Vinicius Monego
2020-08-01 7:33 ` bug#42631: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-07-31 13:38 UTC (permalink / raw)
To: 42631; +Cc: Vinicius Monego
* gnu/packages/python-xyz.scm (python-wurlitzer): New variable.
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 446e0a6def..ab162d7937 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5031,6 +5031,34 @@ operators such as union, intersection, and difference.")
(define-public python2-pysnptools
(package-with-python2 python-pysnptools))
+(define-public python-wurlitzer
+ (package
+ (name "python-wurlitzer")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "wurlitzer" version))
+ (sha256
+ (base32 "0hvmbc41kdwrjns8z1s4a59a4azdvzb8q3vs7nn1li4qm4l0g3yh"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv" "test.py"))))))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/minrk/wurlitzer")
+ (synopsis "Capture C-level output in context managers")
+ (description
+ "This library helps to redirect @code{sys.stdout} to a stream or a file
+while executing some piece of code, including C code running within a Python
+process.")
+ (license license:expat)))
+
(define-public python-socksipy-branch
(package
(name "python-socksipy-branch")
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#42631: [PATCH] gnu: Add python-wurlitzer.
2020-07-31 13:38 [bug#42631] [PATCH] gnu: Add python-wurlitzer Vinicius Monego
@ 2020-08-01 7:33 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-08-01 7:33 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 42631-done
Hey,
> * gnu/packages/python-xyz.scm (python-wurlitzer): New variable.
Pushed, thanks!
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-01 7:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 13:38 [bug#42631] [PATCH] gnu: Add python-wurlitzer Vinicius Monego
2020-08-01 7:33 ` bug#42631: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).