From c56367982ca4e45b9be10fb639c96abbd4fd3d95 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 24 Oct 2021 20:38:07 +1300 Subject: development/python3-matplotlib: Build offline. The SlackBuild tries to download freetype during build. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- development/python3-matplotlib/python3-matplotlib.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'development/python3-matplotlib/python3-matplotlib.SlackBuild') diff --git a/development/python3-matplotlib/python3-matplotlib.SlackBuild b/development/python3-matplotlib/python3-matplotlib.SlackBuild index 829d1caa30..419a58e216 100644 --- a/development/python3-matplotlib/python3-matplotlib.SlackBuild +++ b/development/python3-matplotlib/python3-matplotlib.SlackBuild @@ -71,6 +71,9 @@ cd $TMP rm -rf $SRCNAM-$TARBALL_VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$TARBALL_VERSION +mkdir -p build +tar -C build -xvf $CWD/freetype-2.6.1.tar.gz +tar -C build -xvf $CWD/qhull-2020-src-8.0.2.tgz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,11 +90,6 @@ then sed -i "s|#tests = False|tests = True|" setup.cfg fi -# Use modified setupext.py to make sure that the build process gets -# interrupted if requirements are not fulfilled -# -#cat "${CWD}/setupext.py" > setupext.py - python3 setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ -- cgit v1.2.3