devel/py-pytest-localserver 0.10.0 FreeBSD
Py.test Plugin to test server connections locally
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 25.3 KiB, 84.5 KiB installed
Description
pytest-localserver is a plugin for the pytest testing framework which enables you to test server connections locally.
Sometimes monkeypatching urllib2.urlopen() just does not cut it, for instance if you work with urllib2.Request, define your own openers/handlers or work with httplib. In these cases it may come in handy to have an HTTP server running locally which behaves just like the real thing. Well, look no further!
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pytest-localserver | 0.10.0 |
| DragonFly | devel/py-pytest-localserver | 0.8.1 |
| HardenedBSD | devel/py-pytest-localserver | 0.10.0 |
| GhostBSD | devel/py-pytest-localserver | 0.10.0 |
Install
Binary package:
pkg install py312-pytest-localserver
From the ports tree:
cd /usr/ports/devel/py-pytest-localserver/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytest-localserver>0:devel/py-pytest-localserver
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.10.0 | 0.10.0 | 0.7.0 | 0.8.1 | 0.10.0 |
| FreeBSD:14:quarterly | 0.10.0 | 0.10.0 | n/a | 0.8.1 | 0.10.0 |
| FreeBSD:15:latest | 0.10.0 | 0.10.0 | n/a | 0.8.1 | 0.8.1 |
| FreeBSD:15:quarterly | 0.10.0 | 0.10.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.10.0 | 0.10.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 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}aiosmtpd>0: mail/py-aiosmtpd${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}werkzeug>=0.10: www/py-werkzeug
Test 1
${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 21
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-atpublic
- devel/py-attrs
- devel/py-iniconfig
- devel/py-packaging
- devel/py-pluggy
- devel/py-pytest
- devel/py-typing-extensions
- devel/readline
- lang/python312
- lang/python315
- mail/py-aiosmtpd
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-markupsafe
- textproc/py-pygments
- www/py-werkzeug
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest_localserver-0.10.0.tar.gz | 30796 | 2607197f390912ab25525d129ac43c3c875049257368b3fe09b5cd03dcc526af |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.