blob: 4b8310108d8557856ab89ac4d88ad296dcc313d4 (
plain)
1 # Description: Python bindings for the QT6 toolkit
2 # URL: https://riverbankcomputing.com/software/pyqt/intro
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-opengl python3-packaging python3-ply python3-pyqt-builder python3-pyqt6-sip qt6-base sip
5 # 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
6
7 name=python3-pyqt6
8 version=6.4.0
9 release=1
10 source=(https://pypi.python.org/packages/source/P/PyQt6/PyQt6-$version.tar.gz)
11
12 build() {
13 cd PyQt6-$version
14
15 sip-build \
16 --confirm-license \
17 --no-make \
18 --qmake=/usr/lib/qt6/bin/qmake6 \
19 --api-dir /usr/share/qt6/qsci/api/python \
20 --pep484-pyi
21 cd build
22 make
23 make INSTALL_ROOT=$PKG install
24
25 /usr/bin/python3 -m compileall -d / $PKG/usr/lib
26 /usr/bin/python3 -O -m compileall -d / $PKG/usr/lib
27 }
|