devel/py-pytest-subprocess 1.6.0 FreeBSD
Pytest plugin to fake subprocess for pytest
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
2305eb8f7c- License
- MIT
- Categories
- devel, python
- Package size
- 44.0 KiB, 202.2 KiB installed
Description
pytest-subprocess is a pytest plugin to fake subprocess.
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pytest-subprocess | 1.6.0 |
| DragonFly | devel/py-pytest-subprocess | 1.5.2_1 |
| HardenedBSD | devel/py-pytest-subprocess | 1.6.0 |
| GhostBSD | devel/py-pytest-subprocess | 1.6.0 |
Install
Binary package:
pkg install py312-pytest-subprocess
From the ports tree:
cd /usr/ports/devel/py-pytest-subprocess/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytest-subprocess>0:devel/py-pytest-subprocess
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.6.0 | 1.6.0 | - | 1.5.2_1 | 1.6.0 |
| FreeBSD:14:quarterly | 1.6.0 | 1.6.0 | n/a | 1.5.2_1 | 1.6.0 |
| FreeBSD:15:latest | 1.6.0 | 1.6.0 | n/a | 1.5.2_1 | 1.5.2_1 |
| FreeBSD:15:quarterly | 1.6.0 | 1.6.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.6.0 | 1.6.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=4.0.0: devel/py-pytest
Test 6
${PYTHON_PKGNAMEPREFIX}anyio>=0: devel/py-anyio${PYTHON_PKGNAMEPREFIX}docutils>=0.12: textproc/py-docutils${PYTHON_PKGNAMEPREFIX}pygments>=2.0: textproc/py-pygments${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.15.1: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0: devel/py-pytest-rerunfailures${PYTHON_PKGNAMEPREFIX}pytest-timeout>0: devel/py-pytest-timeout
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aklajnert-pytest-subprocess-1.6.0_GH0.tar.gz | 43337 | 4d6e2734ddcd1df73d97282f31f1e4fab7d5a890ec59af5434d190897713d50a |