notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
NOW FIXED. We had a known problem with lists of packages - they were out of date. The fix has been applied to production. See packages-import/issues/3 & packages-import/issues/4
Port details
py-unittest2pytest Convert unittest test-cases to pytest
0.5 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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):
py39-unittest2pytest
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.4--0.40.40.4
FreeBSD:14:latest--0.4--0.4-0.4
FreeBSD:14:quarterly-----0.40.40.4
FreeBSD:15:latest--n/a-n/a0.40.40.4
 

py311-unittest2pytest
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.50.5-0.50.5---
FreeBSD:13:quarterly0.50.5-0.50.5---
FreeBSD:14:latest0.50.5-0.50.5---
FreeBSD:14:quarterly0.50.5-0.50.5---
FreeBSD:15:latest0.50.5n/a0.5n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/u/unittest2pytest/
  2. https://pypi.org/packages/source/u/unittest2pytest/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.5
23 Dec 2024 20:46:04
commit hash: bbac2c4dfe9fbe39cc27df7d2ff106887092355fcommit hash: bbac2c4dfe9fbe39cc27df7d2ff106887092355fcommit hash: bbac2c4dfe9fbe39cc27df7d2ff106887092355fcommit hash: bbac2c4dfe9fbe39cc27df7d2ff106887092355f files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
devel/py-unittest2pytest: update 0.4 → 0.5
0.4
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.4
21 Nov 2022 17:23:42
commit hash: f8e9da875473a0b8bedcb995245fbf6d3c2d30d0commit hash: f8e9da875473a0b8bedcb995245fbf6d3c2d30d0commit hash: f8e9da875473a0b8bedcb995245fbf6d3c2d30d0commit hash: f8e9da875473a0b8bedcb995245fbf6d3c2d30d0 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: switch my ports from USES=pytest to USE_PYTHON=pytest

Suggested by:	sunpoet
0.4
08 Sep 2022 20:30:42
commit hash: 15d936e3b134a8f334fe9dc7dab5a82bfe33149ecommit hash: 15d936e3b134a8f334fe9dc7dab5a82bfe33149ecommit hash: 15d936e3b134a8f334fe9dc7dab5a82bfe33149ecommit hash: 15d936e3b134a8f334fe9dc7dab5a82bfe33149e files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: preserve all WWWs for my ports
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.4
20 Apr 2022 12:32:13
commit hash: 936a9cc39425d5f6e10cb3161a79bc5ed4619bf6commit hash: 936a9cc39425d5f6e10cb3161a79bc5ed4619bf6commit hash: 936a9cc39425d5f6e10cb3161a79bc5ed4619bf6commit hash: 936a9cc39425d5f6e10cb3161a79bc5ed4619bf6 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
devel/py-unittest2pytest: switch to USES=pytest
0.4
04 Oct 2021 11:58:26
commit hash: 7b513a3d17b357dc24ae1f65828b3fd9f95fe575commit hash: 7b513a3d17b357dc24ae1f65828b3fd9f95fe575commit hash: 7b513a3d17b357dc24ae1f65828b3fd9f95fe575commit hash: 7b513a3d17b357dc24ae1f65828b3fd9f95fe575 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
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

Number of commits found: 8