* update pyqt6 to 6.8.0-3

This commit is contained in:
Alexander Baldeck 2024-12-10 19:11:20 +01:00
parent c196768816
commit b79e814338
2 changed files with 14 additions and 10 deletions

View File

@ -1,7 +1,7 @@
pkgbase = pyqt6
pkgdesc = A set of Python bindings for the Qt6 toolkit
pkgver = 6.7.0
pkgrel = 4
pkgver = 6.8.0dev2410211537
pkgrel = 3
url = https://riverbankcomputing.com/software/pyqt/intro
arch = x86_64
groups = pyqt6
@ -43,7 +43,7 @@ pkgbase = pyqt6
optdepends = qt6-websockets: QtWebSockets bindings
optdepends = dbus-python: for python-dbus mainloop support
provides = qt6-python-bindings
source = https://pypi.python.org/packages/source/P/PyQt6/PyQt6-6.7.0.tar.gz
sha256sums = 3d31b2c59dc378ee26e16586d9469842483588142fc377280aad22aaf2fa6235
source = https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-6.8.0.dev2410211537.tar.gz
sha256sums = cb390cd6746c53428ecfb97578507aba753f342f1679edbabf27480d3640ef4c
pkgname = python-pyqt6

View File

@ -4,8 +4,9 @@
pkgbase=pyqt6
pkgname=python-pyqt6
pkgdesc='A set of Python bindings for the Qt6 toolkit'
pkgver=6.7.0
pkgrel=4
_pkgver=6.8.0
pkgver=${_pkgver/.dev/dev}
pkgrel=3
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://riverbankcomputing.com/software/pyqt/intro'
license=(GPL)
@ -29,11 +30,11 @@ makedepends=(sip pyqt-builder python-opengl dbus-python
qt6-tools qt6-svg qt6-declarative qt6-quick3d qt6-shadertools qt6-multimedia qt6-remoteobjects
qt6-positioning qt6-sensors qt6-serialport qt6-webchannel qt6-websockets qt6-connectivity qt6-speech)
provides=(qt6-python-bindings)
source=(https://pypi.python.org/packages/source/P/PyQt6/PyQt6-$pkgver.tar.gz)
sha256sums=('3d31b2c59dc378ee26e16586d9469842483588142fc377280aad22aaf2fa6235')
source=(https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-$_pkgver.tar.gz)
sha256sums=('6d8628de4c2a050f0b74462e4c9cb97f839bf6ffabbca91711722ffb281570d9')
build() {
cd PyQt6-$pkgver
cd PyQt6-$_pkgver
sip-build \
--confirm-license \
--no-make \
@ -45,10 +46,13 @@ build() {
}
package_python-pyqt6(){
cd PyQt6-$pkgver/build
cd PyQt6-$_pkgver/build
make INSTALL_ROOT="$pkgdir" install
# compile Python bytecode
python -m compileall -d / "$pkgdir"/usr/lib
python -O -m compileall -d / "$pkgdir"/usr/lib
# fix permissions
find "$pkgdir"/usr/lib -type f -exec chmod 644 {} \;
}