BSD Ports

devel/py-unittest2pytest 0.5_1 FreeBSD

Convert unittest test-cases to pytest

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3+
Categories
devel, python
Package size
32.5 KiB, 115.0 KiB installed

Description

unittest2pytest is a tool that helps rewriting Python unittest test-cases into pytest test-cases.

In contrast to other similar tools, this unittest2pytest

* handles keyword arguments, * handles single-line test-cases and several tests on one line, * uses context-handlers where appropriate.

This is done by using lib2to3 and Python's mighty inspect module.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/py-unittest2pytest0.5_1 newestnone known-[email protected]-
NetBSDdevel/py-unittest2pytest0.5nb1 newestnone known-[email protected]-
DragonFlydevel/py-unittest2pytest0.5_1 newestnone known-[email protected]-
HardenedBSDdevel/py-unittest2pytest0.5_1 newestno data-[email protected]-
GhostBSDdevel/py-unittest2pytest0.5_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py312-unittest2pytest

From the ports tree:

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

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

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

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:latest0.5_10.5_10.40.5_10.5_1
FreeBSD:14:quarterly0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:latest0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:quarterly0.5_10.5_1n/an/an/a
FreeBSD:16:latest0.5_10.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

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
unittest2pytest-0.5.tar.gz34674245db168f4286470ffc932b8d055cd0062ff26dfe2c8138ba8cc93672bb520f4
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.