mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
24 lines
591 B
Plaintext
24 lines
591 B
Plaintext
# description : A set of Python 3.x bindings for the Qt5 toolkit
|
|
# depends : python3-sip qtwebengine qt5-webkit python3-dbus python3-pyqt-builder
|
|
|
|
name=python3-pyqt5
|
|
version=5.15.10
|
|
release=1
|
|
source="$name-$version.tar.gz::https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$version.tar.gz"
|
|
|
|
build() {
|
|
cd PyQt5-$version
|
|
|
|
sip-build \
|
|
--confirm-license \
|
|
--no-make \
|
|
--api-dir /usr/share/qt5/qsci/api/python
|
|
cd build
|
|
make
|
|
make INSTALL_ROOT="$PKG" install -j1
|
|
|
|
# compile Python bytecode
|
|
python3 -m compileall -d / "$PKG"/usr/lib
|
|
python3 -O -m compileall -d / "$PKG"/usr/lib
|
|
}
|