[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: Add python-stdio-mgr.
From: |
guix-commits |
Subject: |
01/12: gnu: Add python-stdio-mgr. |
Date: |
Wed, 6 Nov 2024 19:13:42 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit fd335631645792d53871692604e6f2a0946c26d2
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 6 21:28:54 2024 +0000
gnu: Add python-stdio-mgr.
* gnu/packages/python-check.scm (python-stdio-mgr): New variable.
Change-Id: Ib558d2fd95bcb818b1c06f2fbfce6eaae766be8f
---
gnu/packages/python-check.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 9c0f7e74b1..d31c55cdf8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2451,6 +2451,38 @@ behavior-driven development (TDD and BDD).")
"@code{slotscheck} is a tool to validate Python class @code{__slots__}.")
(license license:expat)))
+(define-public python-stdio-mgr
+ (package
+ (name "python-stdio-mgr")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch) ;no tests in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/bskinn/stdio-mgr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xb6779s7j162xhig6vc63f9nn3v406fvjh1zqbqbf8zcl17ific"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; See <https://github.com/bskinn/stdio-mgr/issues/99>.
+ #:test-flags #~(list "-k" "not readme")))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-attrs))
+ (home-page "https://github.com/bskinn/stdio-mgr")
+ (synopsis "Context manager for mocking/wrapping stdin/stdout/stderr")
+ (description
+ "Context manager for mocking/wrapping stdin/stdout/stderr for CLI
+applications test automation.")
+ (license license:expat)))
+
(define-public python-stestr
(package
(name "python-stestr")
- branch python-team updated (9c49ece113 -> 15691c5f98), guix-commits, 2024/11/06
- 02/12: gnu: Add python-pytest-check., guix-commits, 2024/11/06
- 03/12: gnu: python-sphobjinv: Update to 2.3.1.1., guix-commits, 2024/11/06
- 04/12: gnu: python-sphinx-autodoc-typehints: Update to 1.23.0., guix-commits, 2024/11/06
- 01/12: gnu: Add python-stdio-mgr.,
guix-commits <=
- 08/12: gnu: ytcc: Fix build., guix-commits, 2024/11/06
- 09/12: gnu: python-pymysql: Adjust inputs., guix-commits, 2024/11/06
- 10/12: gnu: python-pandera: Adjust inputs., guix-commits, 2024/11/06
- 12/12: gnu: hangups: Fix build., guix-commits, 2024/11/06
- 07/12: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/06
- 05/12: gnu: python-defusedxml: Update to 0.7.1., guix-commits, 2024/11/06
- 06/12: gnu: python-scrapy: Fix build., guix-commits, 2024/11/06
- 11/12: gnu: python-urwid: Update to 2.6.16., guix-commits, 2024/11/06