qscintilla: build with python 3.9

This commit is contained in:
Jerome Duval
2023-03-08 21:08:58 +01:00
parent fb8b681ac8
commit b8c2aded17

View File

@@ -25,7 +25,7 @@ This version of QScintilla is based on Scintilla v3.5.4."
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/"
COPYRIGHT="2015-2017 Riverbank Computing Limited"
LICENSE="GNU GPL v3"
REVISION="3"
REVISION="4"
SOURCE_URI="https://www.riverbankcomputing.com/static/Downloads/QScintilla/$portVersion/QScintilla-$portVersion.tar.gz"
CHECKSUM_SHA256="e7346057db47d2fb384467fafccfcb13aa0741373c5d593bc72b55b2f0dd20a7"
SOURCE_DIR="QScintilla-$portVersion"
@@ -45,6 +45,7 @@ REQUIRES="
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5PrintSupport$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
PROVIDES_devel="
@@ -56,16 +57,16 @@ REQUIRES_devel="
qscintilla$secondaryArchSuffix == $portVersion base
"
PROVIDES_python38="
qscintilla${secondaryArchSuffix}_python38 = $portVersion
PROVIDES_python39="
qscintilla${secondaryArchSuffix}_python39 = $portVersion
"
REQUIRES_python38="
REQUIRES_python39="
qscintilla$secondaryArchSuffix == $portVersion base
pyqt5_python38
pyqt5_python39
"
if [ "$targetArchitecture" = "x86_gcc2" ]; then
PROVIDES_python38+="
qscintilla_python38 = $portVersion
PROVIDES_python39+="
qscintilla_python39 = $portVersion
"
fi
@@ -76,14 +77,14 @@ BUILD_REQUIRES="
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
pyqt5_python38
pyqt_builder_python38
sip_python38
pyqt5_python39
pyqt_builder_python39
sip_python39
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
cmd:python3.8
cmd:python3.9
cmd:sed
cmd:sip
"