diff options
Diffstat (limited to 'python3-pyqt6/Pkgfile')
-rw-r--r-- | python3-pyqt6/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/python3-pyqt6/Pkgfile b/python3-pyqt6/Pkgfile new file mode 100644 index 000000000..4257a6b0a --- /dev/null +++ b/python3-pyqt6/Pkgfile @@ -0,0 +1,25 @@ +# 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-packaging python3-pyqt-builder python3-pyqt6-sip qt6-base sip +# 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.2.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 + 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 +} |