BSD Ports

devel/py-assertpy 1.1_1 FreeBSD

Simple assertions library for unit testing in Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel, python
Package size
55.0 KiB, 468.6 KiB installed

Description

Simple assertions library for unit testing in Python with a nice fluent API. Supports both Python 2 and 3.

Just import the assert_that function, and away you go...

Of course, assertpy works best with a python test runner like pytest (our favorite) or Nose.

In the other systems

SystemPortVersion
FreeBSDdevel/py-assertpy1.1_1
NetBSDdevel/py-assertpy1.1
DragonFlydevel/py-assertpy1.1_1

Install

Binary package:

pkg install py312-assertpy

From the ports tree:

cd /usr/ports/devel/py-assertpy/ && make install clean

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

RUN_DEPENDS=	py312-assertpy>0:devel/py-assertpy

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1_11.1_1-1.1_11.1_1
FreeBSD:14:quarterly1.1_11.1_1n/a1.1_11.1_1
FreeBSD:15:latest1.1_11.1_1n/a1.1_11.1_1
FreeBSD:15:quarterly1.1_11.1_1n/an/an/a
FreeBSD:16:latest1.1_11.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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
FileSizeSHA256
assertpy-1.1.tar.gz25421acc64329934ad71a3221de185517a43af33e373bb44dc05b5a9b174394ef4833
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.