devel/py-pretend 1.0.9_1 FreeBSD
Library for stubbing in Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 8.2 KiB, 20.5 KiB installed
Description
Pretend is a library to make stubbing with Python easier.
What is stubbing?
Stubbing is a technique for writing tests. You may hear the term mixed up with mocks, fakes, or doubles. Basically a stub is an object that returns pre-canned responses, rather than doing any computation.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pretend | 1.0.9_1 |
| OpenBSD | devel/py-pretend | 1.0.9p10 |
| NetBSD | devel/py-pretend | 1.0.9nb2 |
| DragonFly | devel/py-pretend | 1.0.9_1 |
| MidnightBSD | devel/py-pretend | 1.0.9_1 |
| HardenedBSD | devel/py-pretend | 1.0.9_1 |
| GhostBSD | devel/py-pretend | 1.0.9_1 |
Install
Binary package:
pkg install py312-pretend
From the ports tree:
cd /usr/ports/devel/py-pretend/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pretend>0:devel/py-pretend
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.0.9_1 | 1.0.9_1 | 1.0.9 | 1.0.9_1 | 1.0.9_1 |
| FreeBSD:14:quarterly | 1.0.9_1 | 1.0.9_1 | n/a | 1.0.9_1 | 1.0.9_1 |
| FreeBSD:15:latest | 1.0.9_1 | 1.0.9_1 | n/a | 1.0.9_1 | 1.0.9_1 |
| FreeBSD:15:quarterly | 1.0.9_1 | 1.0.9_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.9_1 | 1.0.9_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.
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| alex-pretend-v1.0.9_GH0.tar.gz | 5656 | 890313320280455daeaa11100e8b765093fee7839ae946de38333601fe544a16 |
Commit history 0
No commits in the history this site was built from.