Skip to content

Commit ba56959

Browse files
authored
Install Gentoo NumPy from wheel, instead of package (#270)
2 parents d910352 + 974ec72 commit ba56959

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gentoo/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN emerge --quiet sudo dev-python/virtualenv dev-util/cargo-c dev-build/meson x
2727

2828
# Install dependencies
2929
RUN USE="jpeg jpeg2k lcms tiff truetype webp xcb zlib" emerge --quiet --onlydeps dev-python/pillow
30-
RUN emerge --quiet app-text/ghostscript-gpl dev-python/numpy dev-vcs/git
30+
RUN emerge --quiet app-text/ghostscript-gpl dev-vcs/git
3131

3232
RUN useradd --uid 1001 pillow \
3333
&& chown pillow:pillow /home/pillow
@@ -38,6 +38,7 @@ ARG PIP_NO_CACHE_DIR=1
3838
RUN virtualenv --system-site-packages /vpy3 \
3939
&& /vpy3/bin/pip install --upgrade pip \
4040
&& /vpy3/bin/pip install pytest-cov pytest-timeout \
41+
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
4142
&& chown -R pillow:pillow /vpy3
4243

4344
COPY depends /depends

0 commit comments

Comments
 (0)