Port details on branch 2022Q2 |
- py-unittest2pytest Convert unittest test-cases to pytest
- 0.4 devel =0 0.4Version of this port present on the latest quarterly branch.
- Maintainer: amdmi3@FreeBSD.org
- Port Added: 2021-10-04 12:09:21
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: GPLv3+
- WWW:
- https://pypi.org/project/unittest2pytest/
- https://github.com/pytest-dev/unittest2pytest
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}unittest2pytest>0:devel/py-unittest2pytest@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-unittest2pytest/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-unittest2pytest
- pkg install py39-unittest2pytest
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-unittest2pytest listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-unittest2pytest
- Package flavors (<flavor>: <package>)
- py39: py39-unittest2pytest
- distinfo:
- TIMESTAMP = 1632956103
SHA256 (unittest2pytest-0.4.tar.gz) = a909522aa54787e20c1cabda9624bf81edcfe5107dc3c73a478ad2d0cf67c21f
SIZE (unittest2pytest-0.4.tar.gz) = 35465
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-unittest2pytest
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|