Port details |
- py-unittest2pytest Convert unittest test-cases to pytest
- 0.5 devel =2 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: 2024-12-23 20:46:04
- Commit Hash: bbac2c4
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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 py311-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 py311-unittest2pytest listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-unittest2pytest
- Package flavors (<flavor>: <package>)
- py311: py311-unittest2pytest
- distinfo:
- TIMESTAMP = 1734971283
SHA256 (unittest2pytest-0.5.tar.gz) = 245db168f4286470ffc932b8d055cd0062ff26dfe2c8138ba8cc93672bb520f4
SIZE (unittest2pytest-0.5.tar.gz) = 34674
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:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.5 23 Dec 2024 20:46:04 |
Dmitry Marakasov (amdmi3) |
devel/py-unittest2pytest: update 0.4 → 0.5 |
0.4 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.4 21 Nov 2022 17:23:42 |
Dmitry Marakasov (amdmi3) |
*/*: switch my ports from USES=pytest to USE_PYTHON=pytest
Suggested by: sunpoet |
0.4 08 Sep 2022 20:30:42 |
Dmitry Marakasov (amdmi3) |
*/*: preserve all WWWs for my ports |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.4 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.4 20 Apr 2022 12:32:13 |
Dmitry Marakasov (amdmi3) |
devel/py-unittest2pytest: switch to USES=pytest |
0.4 04 Oct 2021 11:58:26 |
Dmitry Marakasov (amdmi3) |
devel/py-unittest2pytest: add port: Convert unittest test-cases to pytest
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.
WWW: https://pypi.org/project/unittest2pytest/
WWW: https://github.com/pytest-dev/unittest2pytest |