28 lines
898 B
Plaintext
28 lines
898 B
Plaintext
# Description: Python bindings for the QT6 toolkit
|
|
# URL: https://riverbankcomputing.com/software/pyqt/intro
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-opengl python3-pyqt-builder python3-pyqt6-sip qt6-base
|
|
# Optional: dbus-python3 qt6-connectivity qt6-declarative qt6-location qt6-multimedia qt6-quick3d qt6-remoteobjects qt6-sensors qt6-serialport qt6-svg qt6-tools qt6-webchannel qt6-websockets
|
|
|
|
name=python3-pyqt6
|
|
version=6.6.1
|
|
release=1
|
|
source=(https://pypi.python.org/packages/source/P/PyQt6/PyQt6-$version.tar.gz)
|
|
|
|
build() {
|
|
cd PyQt6-$version
|
|
|
|
sip-build \
|
|
--confirm-license \
|
|
--no-make \
|
|
--qmake=/usr/lib/qt6/bin/qmake6 \
|
|
--api-dir /usr/share/qt6/qsci/api/python \
|
|
--pep484-pyi
|
|
cd build
|
|
make
|
|
make INSTALL_ROOT=$PKG install
|
|
|
|
/usr/bin/python3 -m compileall -d / $PKG/usr/lib
|
|
/usr/bin/python3 -O -m compileall -d / $PKG/usr/lib
|
|
}
|