Skip to content

Commit

Permalink
fix build of pyqt5 and pyscintilla
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Apr 3, 2020
1 parent 21789aa commit 3060872
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions qgis_deps/create_package.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if [ ! -d $ROOT_OUT_PATH ]; then
error "The root output directory '$ROOT_OUT_PATH' not found."
fi

echo "Create packages for qgis-deps-${RELEASE_VERSION}"

##############################################
# Create install script
INSTALL_SCRIPT=$ROOT_OUT_PATH/install_qgis_deps-${RELEASE_VERSION}.bash
Expand Down
6 changes: 3 additions & 3 deletions qgis_deps/recipes/python_pyqt5/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function prebuild_python_pyqt5() {
}

function shouldbuild_python_pyqt5() {
if python_package_installed PyQt5; then
if python_package_installed PyQt5.QtCore; then
DO_BUILD=0
fi
}
Expand Down Expand Up @@ -87,8 +87,8 @@ function build_python_pyqt5() {
}

function postbuild_python_pyqt5() {
if ! python_package_installed PyQt5; then
error "Missing python package PyQt5"
if ! python_package_installed PyQt5.QtCore; then
error "Missing python package PyQt5.QtCore.QtCore"
fi
}

Expand Down
2 changes: 1 addition & 1 deletion qgis_deps/recipes/python_qscintilla/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VERSION_python_qscintilla=2.11.4

# dependencies of this recipe
# depends on PyQt5
DEPS_python_qscintilla=(python qscintilla python_sip python_qscintilla)
DEPS_python_qscintilla=(python qscintilla python_sip python_pyqt5)

# url of the package
URL_python_qscintilla=https://www.riverbankcomputing.com/static/Downloads/QScintilla/${VERSION_python_qscintilla}/QScintilla-${VERSION_python_qscintilla}.tar.gz
Expand Down

0 comments on commit 3060872

Please sign in to comment.