emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42631: closed ([PATCH] gnu: Add python-wurlitzer.)


From: GNU bug Tracking System
Subject: bug#42631: closed ([PATCH] gnu: Add python-wurlitzer.)
Date: Sat, 01 Aug 2020 07:35:01 +0000

Your message dated Sat, 01 Aug 2020 09:33:57 +0200
with message-id <87zh7e95wa.fsf@gnu.org>
and subject line Re: [bug#42631] [PATCH] gnu: Add python-wurlitzer.
has caused the debbugs.gnu.org bug report #42631,
regarding [PATCH] gnu: Add python-wurlitzer.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42631: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42631
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-wurlitzer. Date: Fri, 31 Jul 2020 10:38:02 -0300
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42631] [PATCH] gnu: Add python-wurlitzer. Date: Sat, 01 Aug 2020 09:33:57 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hey,

> * gnu/packages/python-xyz.scm (python-wurlitzer): New variable.

Pushed, thanks!

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]