pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 10 09:46:42 UTC 2024

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-test-subprocess: DESCR Makefile PLIST distinfo

Log Message:
py-test-subprocess: added version 1.5.0

The plugin adds the fake_process fixture (and fp as an alias). It can be used
it to register subprocess results so you won't need to rely on the real
processes. The plugin hooks on the subprocess.Popen(), which is the base for
other subprocess functions. That makes the subprocess.run(), subprocess.call(),
subprocess.check_call() and subprocess.check_output() methods also functional.


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

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4302 pkgsrc/devel/Makefile:1.4303
--- pkgsrc/devel/Makefile:1.4302        Sun May 26 12:15:22 2024
+++ pkgsrc/devel/Makefile       Mon Jun 10 09:46:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4302 2024/05/26 12:15:22 markd Exp $
+# $NetBSD: Makefile,v 1.4303 2024/06/10 09:46:41 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -3075,6 +3075,7 @@ SUBDIR+=  py-test-relaxed
 SUBDIR+=       py-test-rerunfailures
 SUBDIR+=       py-test-runner
 SUBDIR+=       py-test-shutil
+SUBDIR+=       py-test-subprocess
 SUBDIR+=       py-test-subtests
 SUBDIR+=       py-test-sugar
 SUBDIR+=       py-test-testmon

Added files:

Index: pkgsrc/devel/py-test-subprocess/DESCR
diff -u /dev/null pkgsrc/devel/py-test-subprocess/DESCR:1.1
--- /dev/null   Mon Jun 10 09:46:42 2024
+++ pkgsrc/devel/py-test-subprocess/DESCR       Mon Jun 10 09:46:41 2024
@@ -0,0 +1,5 @@
+The plugin adds the fake_process fixture (and fp as an alias). It can be used
+it to register subprocess results so you won't need to rely on the real
+processes. The plugin hooks on the subprocess.Popen(), which is the base for
+other subprocess functions. That makes the subprocess.run(), subprocess.call(),
+subprocess.check_call() and subprocess.check_output() methods also functional.
Index: pkgsrc/devel/py-test-subprocess/Makefile
diff -u /dev/null pkgsrc/devel/py-test-subprocess/Makefile:1.1
--- /dev/null   Mon Jun 10 09:46:42 2024
+++ pkgsrc/devel/py-test-subprocess/Makefile    Mon Jun 10 09:46:41 2024
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2024/06/10 09:46:41 adam Exp $
+
+DISTNAME=      pytest-subprocess-1.5.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-subprocess/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aklajnert/pytest-subprocess
+COMMENT=       Pytest plugin to fake subprocess
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-test>=4.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-subprocess/PLIST
diff -u /dev/null pkgsrc/devel/py-test-subprocess/PLIST:1.1
--- /dev/null   Mon Jun 10 09:46:42 2024
+++ pkgsrc/devel/py-test-subprocess/PLIST       Mon Jun 10 09:46:41 2024
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2024/06/10 09:46:41 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_subprocess/__init__.py
+${PYSITELIB}/pytest_subprocess/__init__.pyc
+${PYSITELIB}/pytest_subprocess/__init__.pyo
+${PYSITELIB}/pytest_subprocess/asyncio_subprocess.py
+${PYSITELIB}/pytest_subprocess/asyncio_subprocess.pyc
+${PYSITELIB}/pytest_subprocess/asyncio_subprocess.pyo
+${PYSITELIB}/pytest_subprocess/exceptions.py
+${PYSITELIB}/pytest_subprocess/exceptions.pyc
+${PYSITELIB}/pytest_subprocess/exceptions.pyo
+${PYSITELIB}/pytest_subprocess/fake_popen.py
+${PYSITELIB}/pytest_subprocess/fake_popen.pyc
+${PYSITELIB}/pytest_subprocess/fake_popen.pyo
+${PYSITELIB}/pytest_subprocess/fake_process.py
+${PYSITELIB}/pytest_subprocess/fake_process.pyc
+${PYSITELIB}/pytest_subprocess/fake_process.pyo
+${PYSITELIB}/pytest_subprocess/fixtures.py
+${PYSITELIB}/pytest_subprocess/fixtures.pyc
+${PYSITELIB}/pytest_subprocess/fixtures.pyo
+${PYSITELIB}/pytest_subprocess/process_dispatcher.py
+${PYSITELIB}/pytest_subprocess/process_dispatcher.pyc
+${PYSITELIB}/pytest_subprocess/process_dispatcher.pyo
+${PYSITELIB}/pytest_subprocess/process_recorder.py
+${PYSITELIB}/pytest_subprocess/process_recorder.pyc
+${PYSITELIB}/pytest_subprocess/process_recorder.pyo
+${PYSITELIB}/pytest_subprocess/py.typed
+${PYSITELIB}/pytest_subprocess/types.py
+${PYSITELIB}/pytest_subprocess/types.pyc
+${PYSITELIB}/pytest_subprocess/types.pyo
+${PYSITELIB}/pytest_subprocess/utils.py
+${PYSITELIB}/pytest_subprocess/utils.pyc
+${PYSITELIB}/pytest_subprocess/utils.pyo
Index: pkgsrc/devel/py-test-subprocess/distinfo
diff -u /dev/null pkgsrc/devel/py-test-subprocess/distinfo:1.1
--- /dev/null   Mon Jun 10 09:46:42 2024
+++ pkgsrc/devel/py-test-subprocess/distinfo    Mon Jun 10 09:46:42 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/06/10 09:46:42 adam Exp $
+
+BLAKE2s (pytest-subprocess-1.5.0.tar.gz) = 23413d89c740bef53e368a125bc8808ca566bf463e07273c88054e24fa2cd574
+SHA512 (pytest-subprocess-1.5.0.tar.gz) = 2af831264d89ea8344bc4264f63354b17881fa93ee97092454ce43b8b264879693b21d7f3838d2c7296a135679b251625463d06c1fe9acbf8fbfc6dcbf583e3f
+Size (pytest-subprocess-1.5.0.tar.gz) = 24141 bytes



Home | Main Index | Thread Index | Old Index