devel/py-QtPy 2.4.3
Abstraction layer on top of the various Qt bindings
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8007e52eb7- License
- MIT
- Categories
- devel, python
- Package size
- 136.4 KiB, 680.2 KiB installed
Description
QtPy is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide.
It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 layout (where the QtGui module has been split into QtGui and QtWidgets).
Basically, you write your code as if you were using PySide2 but import Qt modules from qtpy instead of PySide2 (or PyQt5)
Install
As a binary package — by origin, or by package name:
pkg install devel/py-QtPy
pkg install py312-QtPy
From the ports tree:
cd /usr/ports/devel/py-QtPy/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-QtPy>0:devel/py-QtPy
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.4.3 | 2.4.3 | 2.2.1 | 2.4.1 | 2.4.3 |
| FreeBSD:14:quarterly | 2.4.3 | 2.4.3 | n/a | 2.4.1 | 2.4.3 |
| FreeBSD:15:latest | 2.4.3 | 2.4.3 | n/a | 2.4.1 | 2.4.1 |
| FreeBSD:15:quarterly | 2.4.3 | 2.4.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4.3 | 2.4.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}packaging>0: devel/py-packaging
Test 3
${PYTHON_PKGNAMEPREFIX}qt5-pyqt>0: devel/py-qt5-pyqt${PYTHON_PKGNAMEPREFIX}pytest-cov>=3.0.0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-qt>0: devel/py-pytest-qt
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 11
Required by 20
- devel/git-cola
- devel/py-app-model
- devel/py-qtconsole
- devel/vitables
- finance/electrum
- games/kajongg
- games/kdegames
- games/rare
- graphics/py-agx-emulsion
- graphics/py-napari-console
- math/py-qats
- misc/py-napari
- textproc/py-QDarkStyle
- www/py-nicegui
- www/py-nicegui-highcharts
- www/py-pywebview-qt
- x11-fonts/py-QtAwesome
- x11-toolkits/py-magicgui
- x11-toolkits/py-superqt
- x11/kde-gear
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| qtpy-2.4.3.tar.gz | 66982 | db744f7832e6d3da90568ba6ccbca3ee2b3b4a890c3d6fbbc63142f6e4cdf5bb |
Master sites 1
- PYPI