BSD Ports

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

SystemPortVersion
NetBSDdevel/py-pretend1.0.9nb2
FreeBSDdevel/py-pretend1.0.9_1
OpenBSDdevel/py-pretend1.0.9p10
DragonFlydevel/py-pretend1.0.9_1
MidnightBSDdevel/py-pretend1.0.9_1
HardenedBSDdevel/py-pretend1.0.9_1
GhostBSDdevel/py-pretend1.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.

RepositoryVersion
NetBSD 10.1 x86_641.0.9nb2
NetBSD 10.1 aarch641.0.9nb1
SmartOS / illumos x86_641.0.9nb2
macOS 15 arm641.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