blob: 404267fb4428cf3c05302f6e5a13612045c50eb2 (
plain)
1 # Description: Python bindings for the QT5 toolkit
2 # URL: https://riverbankcomputing.com/software/pyqt/intro
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: dbus-python3 python3-opengl python3-packaging python3-pip python3-pyqt-builder python3-pyqt5-sip qt5 sip
5
6 name=python3-pyqt5
7 version=5.15.2
8 release=1
9 source=(https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$version.tar.gz)
10
11 build() {
12 cd PyQt5-$version
13 export PATH="/usr/lib/qt5/bin/:${PATH}"
14 sip-build \
15 --confirm-license \
16 --no-make \
17 --api-dir /usr/share/qt/qsci/api/python
18 cd build
19 make
20 make INSTALL_ROOT=$PKG install -j1
21 /usr/bin/python3 -m compileall -d / $PKG/usr/lib
22 /usr/bin/python3 -O -m compileall -d / $PKG/usr/lib
23 find $PKG \
24 -iname "*INSTALLER*" \
25 -delete
26 }
|