mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
pyqt5: bump version
This commit is contained in:
@@ -5,9 +5,9 @@ simplicity of Python."
|
||||
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/"
|
||||
COPYRIGHT="2015-2023 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d46b7804b1b10a4ff91753f8113e5b5580d2b4462f3226288e2d84497334898a"
|
||||
CHECKSUM_SHA256="fda45743ebb4a27b4b1a51c6d8ef455c4c1b5d610c90d2934c7802b5c1557c52"
|
||||
SOURCE_DIR="PyQt5-$portVersion"
|
||||
PYTHON3_VERSION="3.10"
|
||||
|
||||
@@ -132,13 +132,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:qmake${secondaryArchSuffix} >= 5
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# disable checking for sip, since it doesn't work for python2 as __init__.py
|
||||
# is not provided by sip.
|
||||
sed -i 's|from PyQt5 import sip|pass|g' configure.py
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
OLDPYTHONPATH=$PYTHONPATH
|
||||
@@ -158,7 +151,8 @@ BUILD()
|
||||
--no-qml-plugin \
|
||||
--no-make \
|
||||
--target-dir=$installLocation \
|
||||
--api-dir=$dataDir/sip/PyQt5
|
||||
--api-dir=$dataDir/sip/PyQt5 \
|
||||
--pep484-pyi
|
||||
|
||||
cd build
|
||||
make $jobArgs
|
||||
@@ -191,6 +185,6 @@ INSTALL()
|
||||
rmdir $prefix/lib/python$pythonVersion
|
||||
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/packages/pyqt5$secondaryArchSuffix-5.15.10-$REVISION/.self/data/sip $dataDir
|
||||
mv $prefix/packages/pyqt5$secondaryArchSuffix-5.15.11-$REVISION/.self/data/sip $dataDir
|
||||
rm -r $prefix/packages
|
||||
}
|
||||
Reference in New Issue
Block a user