devel/py-pretend 1.0.9nb2 NetBSD
Library for stubbing in Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel, python
- Package size
- 8.8 KiB, 22.4 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 |
|---|---|---|
| NetBSD | devel/py-pretend | 1.0.9nb2 |
| FreeBSD | devel/py-pretend | 1.0.9_1 |
| OpenBSD | devel/py-pretend | 1.0.9p10 |
| 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:
pkgin install py311-pretend
From pkgsrc:
cd /usr/pkgsrc/devel/py-pretend && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.0.9nb2 |
| NetBSD 10.1 aarch64 | 1.0.9nb1 |
| SmartOS / illumos x86_64 | 1.0.9nb2 |
| macOS 15 arm64 | 1.0.9nb2 |
Dependencies
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-pretend-1.0.9nb2,py313-pretend-1.0.9nb2,py314-pretend-1.0.9nb2