[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: |
Thu, 21 Nov 2024 06:29:30 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit f5f831e9a1df03e9ee0c49bfd7dfcdd507f869a6
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")
- 222/361: gnu: python-urllib3: Update to 2.2.1., (continued)
- 222/361: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/11/21
- 229/361: gnu: Remove python-m2r., guix-commits, 2024/11/21
- 232/361: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/21
- 235/361: gnu: python-lazy-loader: Adjust inputs., guix-commits, 2024/11/21
- 241/361: gnu: python-waitress: Adjust inputs., guix-commits, 2024/11/21
- 240/361: gnu: python-responses: Update to 0.25.3., guix-commits, 2024/11/21
- 242/361: gnu: python-requests-unixsocket: Fix build., guix-commits, 2024/11/21
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/21
- 247/361: gnu: python-jsonschema-3: Fix build., guix-commits, 2024/11/21
- 252/361: gnu: python-behave-web-api: Update to 2.0.1., guix-commits, 2024/11/21
- 255/361: gnu: Add python-stdio-mgr.,
guix-commits <=
- 259/361: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/21
- 258/361: gnu: python-scrapy: Fix build., guix-commits, 2024/11/21
- 265/361: gnu: python-ewah-bool-utils: Update to 1.2.2., guix-commits, 2024/11/21
- 262/361: gnu: python-pandera: Adjust inputs., guix-commits, 2024/11/21
- 277/361: gnu: python-quadpy: Adjust inputs., guix-commits, 2024/11/21
- 279/361: gnu: python-pysolr: Update to 3.10.0., guix-commits, 2024/11/21
- 281/361: gnu: beets: Use G-expressions., guix-commits, 2024/11/21
- 284/361: gnu: beets: Update to 2.0.0., guix-commits, 2024/11/21
- 286/361: gnu: Add python-poetry-plugin-export., guix-commits, 2024/11/21
- 285/361: gnu: Add python-sphinx-design., guix-commits, 2024/11/21