python3-PyQt5: update to 5.15.9.

This commit is contained in:
Đoàn Trần Công Danh 2023-02-24 19:01:38 +07:00
parent ca0fd9ac97
commit 80d1d12825
2 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
--- a/project.py 2020-09-27 14:28:27.338774698 +0700
+++ b/project.py 2020-09-27 14:28:29.317795099 +0700
@@ -51,6 +51,15 @@
--- a/project.py
+++ b/project.py
@@ -57,6 +57,15 @@ class PyQt(PyQtProject):
_QOpenGLFunctions_2_1, _QOpenGLFunctions_4_1_Core,
_QOpenGLFunctions_ES2, pylupdate, pyrcc]
@ -8,7 +8,7 @@
+ """ Run a command and display the output if requested. """
+ qemu_machine = os.environ.get("XBPS_TARGET_QEMU_MACHINE")
+ builddir = os.environ.get("XBPS_BUILDDIR")
+ if qemu_machine and args[0].startswith(os.path.join(builddir, "PyQt5")):
+ if qemu_machine and args[0].startswith(os.path.join(builddir, "python3-PyQt5")):
+ qemu = "qemu-{}-static".format(qemu_machine)
+ args.insert(0, qemu)
+ super().run_command(args, fatal=fatal)

View file

@ -1,8 +1,7 @@
# Template file for 'python3-PyQt5'
pkgname=python3-PyQt5
version=5.15.7
revision=2
_sipver=12.8.0
version=5.15.9
revision=1
build_style=sip-build
build_helper=qemu
configure_args="--confirm-license"
@ -14,13 +13,13 @@ makedepends="qscintilla-qt5-devel python3-sip-PyQt5
qt5-multimedia-devel qt5-qmake qt5-sensors-devel qt5-serialport-devel
qt5-svg-devel qt5-webchannel-devel qt5-webkit-devel qt5-websockets-devel
qt5-x11extras-devel qt5-xmlpatterns-devel pulseaudio-devel"
depends="python3-sip-PyQt5>=${_sipver}"
depends="python3-sip-PyQt5>=12.8.0"
short_desc="Python 3 bindings for the Qt5 toolkit"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://riverbankcomputing.com/software/pyqt/intro"
distfiles="${PYPI_SITE}/P/PyQt5/PyQt5-${version}.tar.gz"
checksum=755121a52b3a08cb07275c10ebb96576d36e320e572591db16cfdbc558101594
checksum=dc41e8401a90dc3e2b692b411bd5492ab559ae27a27424eed4bd3915564ec4c0
lib32disabled=yes
export INCPATH=$XBPS_CROSS_BASE/usr/include/python$py3_ver