BSD Ports

devel/py-pretend 1.0.9_1 MidnightBSD

Library for stubbing in Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
devel, python

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

The newest version among them is 1.0.9, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-pretend1.0.9_1 newestno data-[email protected]-
FreeBSDdevel/py-pretend1.0.9_1 newestnone known-[email protected]-
OpenBSDdevel/py-pretend1.0.9p10 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-11
NetBSDdevel/py-pretend1.0.9nb2 newestnone known-[email protected]-
DragonFlydevel/py-pretend1.0.9_1 newestnone known-[email protected]-
HardenedBSDdevel/py-pretend1.0.9_1 newestno data-[email protected]-
GhostBSDdevel/py-pretend1.0.9_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pretend

From mports:

cd /usr/mports/devel/py-pretend && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
alex-pretend-v1.0.9_GH0.tar.gz5656890313320280455daeaa11100e8b765093fee7839ae946de38333601fe544a16