devel/py-pytest-socket 0.8.1 FreeBSD
Pytest Plugin to disable socket calls during tests
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8dc0e38e4e- License
- MIT
- Categories
- devel, python
- Package size
- 14.5 KiB, 52.1 KiB installed
Description
pytest-socket is a plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pytest-socket | 0.8.1 |
| DragonFly | devel/py-pytest-socket | 0.7.0 |
| MidnightBSD | devel/py-pytest-socket | 0.7.0_1 |
Install
Binary package:
pkg install py312-pytest-socket
From the ports tree:
cd /usr/ports/devel/py-pytest-socket/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytest-socket>0:devel/py-pytest-socket
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 | 0.8.0 | 0.8.1 | - | 0.7.0 | 0.8.1 |
| FreeBSD:14:quarterly | 0.8.0 | 0.8.0 | n/a | 0.7.0 | 0.8.0 |
| FreeBSD:15:latest | 0.8.1 | 0.8.1 | n/a | 0.7.0 | 0.7.0 |
| FreeBSD:15:quarterly | 0.8.0 | 0.8.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.0 | 0.8.1 | 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}uv-build>=0.7.20: devel/py-uv-build
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=7.0: devel/py-pytest
Test 6
${PYTHON_PKGNAMEPREFIX}coverage>=7.9: devel/py-coverage${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1: www/py-httpx${PYTHON_PKGNAMEPREFIX}mutmut>0: devel/py-mutmut${PYTHON_PKGNAMEPREFIX}mypy>=1.20: devel/py-mypy${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.15.0: devel/py-pytest-randomly${PYTHON_PKGNAMEPREFIX}starlette>=0.47.1: www/py-starlette
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 15
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest_socket-0.8.1.tar.gz | 17313 | 2f57787914ad2e1308d09ce141b95c3e55741fbb4fb7b7556593a6b063e0c9c7 |
Master sites 1
- PYPI