[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
255/361: gnu: Add python-stdio-mgr.
From: |
guix-commits |
Subject: |
255/361: gnu: Add python-stdio-mgr. |
Date: |
Fri, 22 Nov 2024 06:00:53 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 971e28027d71d894bcc2a1b6d94b832cad077e26
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 f38dded9df..0f96f3790c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2471,6 +2471,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")
- 216/361: gnu: python-qemu-qmp: Improve package style., (continued)
- 216/361: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/11/22
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/22
- 227/361: gnu: python-altair: Adjust inputs., guix-commits, 2024/11/22
- 232/361: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/22
- 233/361: gnu: python-immutables: Update to 0.21., guix-commits, 2024/11/22
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/22
- 236/361: gnu: python-lightning-utilities: Adjust inputs., guix-commits, 2024/11/22
- 243/361: gnu: python-twine: Adjust inputs., guix-commits, 2024/11/22
- 244/361: gnu: python-notebook: Disable more failing tests., guix-commits, 2024/11/22
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/22
- 255/361: gnu: Add python-stdio-mgr.,
guix-commits <=
- 259/361: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/22
- 258/361: gnu: python-scrapy: Fix build., guix-commits, 2024/11/22
- 260/361: gnu: ytcc: Fix build., guix-commits, 2024/11/22
- 269/361: gnu: python-pytest-openfiles: Adjust inputs., guix-commits, 2024/11/22
- 271/361: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/22
- 270/361: gnu: python-pytest-shutil: Update to 1.8.0., guix-commits, 2024/11/22
- 286/361: gnu: Add python-poetry-plugin-export., guix-commits, 2024/11/22
- 287/361: gnu: Add python-pypa-installer., guix-commits, 2024/11/22
- 288/361: gnu: poetry: Fix build., guix-commits, 2024/11/22
- 294/361: gnu: Remove python-pyproject-metadata-0.7., guix-commits, 2024/11/22