From: Vinicius Monego <monego@posteo.net>
To: 42631@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#42631] [PATCH] gnu: Add python-wurlitzer.
Date: Fri, 31 Jul 2020 10:38:02 -0300 [thread overview]
Message-ID: <20200731133802.30745-1-monego@posteo.net> (raw)
* 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
next reply other threads:[~2020-07-31 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-31 13:38 Vinicius Monego [this message]
2020-08-01 7:33 ` bug#42631: [PATCH] gnu: Add python-wurlitzer Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200731133802.30745-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=42631@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).