Sat May 6 08:52:25 2023 UTC ()
devel/py-stdio-mgr: import py-stdio-mgr-1.0.1
This modules helps in automating testing actual console input &
output of user-facing components.
While some functionality here is more or less duplicative of
redirect_stdout and redirect_stderr in contextlib within the standard
library, it provides (i) a much more concise way to mock both stdout
and stderr at the same time, and (ii) a mechanism for mocking stdin,
which is not available in contextlib.
(wiz)
diff -r0 -r1.1 pkgsrc/devel/py-stdio-mgr/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-stdio-mgr/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-stdio-mgr/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-stdio-mgr/distinfo
This modules helps in automating testing actual console input &
output of user-facing components.
While some functionality here is more or less duplicative of
redirect_stdout and redirect_stderr in contextlib within the standard
library, it provides (i) a much more concise way to mock both stdout
and stderr at the same time, and (ii) a mechanism for mocking stdin,
which is not available in contextlib.
# $NetBSD: Makefile,v 1.1 2023/05/06 08:52:25 wiz Exp $
DISTNAME= stdio-mgr-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stdio-mgr/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.github.com/bskinn/stdio-mgr
COMMENT= Context manager for mocking/wrapping stdin/stdout/stderr
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-attrs>=17.1:../../devel/py-attrs
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2023/05/06 08:52:25 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/stdio_mgr/__init__.py
${PYSITELIB}/stdio_mgr/__init__.pyc
${PYSITELIB}/stdio_mgr/__init__.pyo
${PYSITELIB}/stdio_mgr/stdio_mgr.py
${PYSITELIB}/stdio_mgr/stdio_mgr.pyc
${PYSITELIB}/stdio_mgr/stdio_mgr.pyo
$NetBSD: distinfo,v 1.1 2023/05/06 08:52:25 wiz Exp $
BLAKE2s (stdio-mgr-1.0.1.tar.gz) = 6b7d48af26422d3fb30f9b468d13b0d446e9ff443886d6f044c748e6dc72e0c5
SHA512 (stdio-mgr-1.0.1.tar.gz) = 57ae872490852a288dbc1507a0c4f9df793417f823c2bd3d3f7667918cbb59b0c60019647345d50f9b3e4957579cc8e639ef40b5c018cc199068bc489c704623
Size (stdio-mgr-1.0.1.tar.gz) = 7222 bytes