pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-stdio-mgr



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat May  6 08:52:25 UTC 2023

Added Files:
        pkgsrc/devel/py-stdio-mgr: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-stdio-mgr/DESCR \
    pkgsrc/devel/py-stdio-mgr/Makefile pkgsrc/devel/py-stdio-mgr/PLIST \
    pkgsrc/devel/py-stdio-mgr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-stdio-mgr/DESCR
diff -u /dev/null pkgsrc/devel/py-stdio-mgr/DESCR:1.1
--- /dev/null   Sat May  6 08:52:25 2023
+++ pkgsrc/devel/py-stdio-mgr/DESCR     Sat May  6 08:52:25 2023
@@ -0,0 +1,8 @@
+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.
Index: pkgsrc/devel/py-stdio-mgr/Makefile
diff -u /dev/null pkgsrc/devel/py-stdio-mgr/Makefile:1.1
--- /dev/null   Sat May  6 08:52:25 2023
+++ pkgsrc/devel/py-stdio-mgr/Makefile  Sat May  6 08:52:25 2023
@@ -0,0 +1,20 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/py-stdio-mgr/PLIST
diff -u /dev/null pkgsrc/devel/py-stdio-mgr/PLIST:1.1
--- /dev/null   Sat May  6 08:52:25 2023
+++ pkgsrc/devel/py-stdio-mgr/PLIST     Sat May  6 08:52:25 2023
@@ -0,0 +1,12 @@
+@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
Index: pkgsrc/devel/py-stdio-mgr/distinfo
diff -u /dev/null pkgsrc/devel/py-stdio-mgr/distinfo:1.1
--- /dev/null   Sat May  6 08:52:25 2023
+++ pkgsrc/devel/py-stdio-mgr/distinfo  Sat May  6 08:52:25 2023
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index