BSD Ports

devel/py-unittest2pytest 0.5nb1 NetBSD

Tool to rewrite Python unittest into pytest test cases

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
devel, python
Package size
33.7 KiB, 117.2 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 handles keyword arguments, handles single-line test-cases and several tests on one line, and 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
NetBSDdevel/py-unittest2pytest0.5nb1 newestnone known-[email protected]-
FreeBSDdevel/py-unittest2pytest0.5_1 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:

pkgin install py311-unittest2pytest

From pkgsrc:

cd /usr/pkgsrc/devel/py-unittest2pytest && 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_640.5nb1
NetBSD 10.1 aarch640.5nb1
SmartOS / illumos x86_640.5nb1
macOS 15 arm640.5nb1

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

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-unittest2pytest-0.5nb1, py313-unittest2pytest-0.5nb1, py314-unittest2pytest-0.5nb1