devel/py-pytest-qt 4.5.0 MidnightBSD
Pytest support for PyQt and PySide applications
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
d5b474b501- License
- mit
- Categories
- devel, python
Description
pytest-qt is a pytest plugin that allows programmers to write tests for PyQt5, PyQt6, PySide2 and PySide6 applications.
The main usage is to use the qtbot fixture, responsible for handling qApp creation as needed and provides methods to simulate user interaction, like key presses and mouse clicks.
In the other systems
The newest version among them is 4.5.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-pytest-qt | 4.5.0 newest | no data | - | [email protected] | 2026-11-08 |
| FreeBSD | devel/py-pytest-qt | 4.5.0 newest | none known | - | [email protected] | 2026-08-03 |
| DragonFly | devel/py-pytest-qt | 4.5.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-pytest-qt | 4.5.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pytest-qt | 4.5.0 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pytest-qt
From mports:
cd /usr/mports/devel/py-pytest-qt && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-qt>0:devel/py-pytest-qt
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
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}pluggy>=1.1: devel/py-pluggy${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}typing-extensions>0: devel/py-typing-extensions
Test 1
${PYTHON_PKGNAMEPREFIX}qt5-pyqt>0: devel/py-qt5-pyqt
Build dependencies 2
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- python:3.9+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest_qt-4.5.0.tar.gz | 128702 | 51620e01c488f065d2036425cbc1cbcf8a6972295105fd285321eb47e66a319f |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
d5b474b501 |
Lucas Holt | devel/py-pytest-qt: add Qt testing plugin 4.5.0 AI-Assisted-by: GPT-6 <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |