Skip to content

Commit c6f9af0

Browse files
committed
try to fake sip version numbber
1 parent 0603305 commit c6f9af0

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

.docker/qgis3-build-deps.dockerfile

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ RUN apt-get update \
5151
pkg-config \
5252
poppler-utils \
5353
postgresql-client \
54+
pyqt5-dev \
55+
pyqt5-dev-tools \
56+
pyqt5.qsci-dev \
5457
python3-all-dev \
5558
python3-dev \
5659
python3-future \
@@ -59,6 +62,10 @@ RUN apt-get update \
5962
python3-nose2 \
6063
python3-pip \
6164
python3-psycopg2 \
65+
python3-pyqt5 \
66+
python3-pyqt5.qsci \
67+
python3-pyqt5.qtsql \
68+
python3-pyqt5.qtsvg \
6269
python3-termcolor \
6370
python3-yaml \
6471
qt3d5-dev \
@@ -96,23 +103,27 @@ RUN curl -s -S -O https://www.riverbankcomputing.com/hg/sip/archive/tip.tar.gz \
96103
&& mkdir /root/sip419 \
97104
&& mv $(find -type d -iname 'sip-*')/* sip419
98105
WORKDIR /root/sip419
99-
RUN python3 build.py prepare && python3 configure.py && make && make install
100-
101-
WORKDIR /root
102-
RUN curl -s -S -O https://svwh.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz \
103-
&& tar xzf PyQt5_gpl-5.9.2.tar.gz
104-
WORKDIR /root/PyQt5_gpl-5.9.2
105-
RUN apt-get install -y qt5-qmake \
106-
&& python3 configure.py --confirm-license --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake --qsci-api --enable QtSql --enable QtSvg && make && make install
107-
108-
WORKDIR /root
109-
RUN curl -s -S -O https://cfhcable.dl.sourceforge.net/project/pyqt/QScintilla2/QScintilla-2.10.3/QScintilla_gpl-2.10.3.tar.gz
110-
&& tar xzf QScintilla_gpl-2.10.3.tar.gz
111-
WORKDIR /root/QScintilla_gpl-2.10.3/Python
112-
RUN python3 configure.py --pyqt=PyQt5
113-
&& make
106+
RUN sed -i -r "s/RM_HEXVERSION = '04ffff'/RM_HEXVERSION = '041308'/; s/RM_RELEASE = '4.255.255'/RM_RELEASE = '4.19.8'/" build.py \
107+
&& python3 build.py prepare \
108+
&& python3 configure.py \
109+
&& make \
114110
&& make install
115111

112+
# WORKDIR /root
113+
# RUN curl -s -S -O https://svwh.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz \
114+
# && tar xzf PyQt5_gpl-5.9.2.tar.gz
115+
# WORKDIR /root/PyQt5_gpl-5.9.2
116+
# RUN apt-get install -y qt5-qmake \
117+
# && python3 configure.py --confirm-license --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake --qsci-api --enable QtSql --enable QtSvg && make && make install
118+
#
119+
# WORKDIR /root
120+
# RUN curl -s -S -O https://cfhcable.dl.sourceforge.net/project/pyqt/QScintilla2/QScintilla-2.10.3/QScintilla_gpl-2.10.3.tar.gz
121+
# && tar xzf QScintilla_gpl-2.10.3.tar.gz
122+
# WORKDIR /root/QScintilla_gpl-2.10.3/Python
123+
# RUN python3 configure.py --pyqt=PyQt5
124+
# && make
125+
# && make install
126+
116127
WORKDIR /root
117128

118129
RUN echo "alias python=python3" >> ~/.bash_aliases

0 commit comments

Comments
 (0)