FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4.32.4.32.2.12.4.12.4.3
FreeBSD:14:quarterly2.4.32.4.3n/a2.4.12.4.3
FreeBSD:15:latest2.4.32.4.3n/a2.4.12.4.1
FreeBSD:15:quarterly2.4.32.4.3n/an/an/a
FreeBSD:16:latest2.4.32.4.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 3

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 11

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

You installed py-QtPy: the abstraction layer on top of Qt bindings.

One of PyQt5, PyQt4, PySide2 or PySide bindings is required to be
installed for it to work. py-QtPy will choose between the avaiable
bindings, PyQt5 will be chosen first when available.

The QT_API environment variable can be used to force a particular
binding.

Files

distinfo 1
FileSizeSHA256
qtpy-2.4.3.tar.gz66982db744f7832e6d3da90568ba6ccbca3ee2b3b4a890c3d6fbbc63142f6e4cdf5bb
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
8007e52eb7 Yuri Victorovich devel/py-QtPy: update 2.4.1 → 2.4.3