From db11d890922564dfdcb7937a3a682957082fbb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 28 Apr 2020 15:20:44 +0200 Subject: [PATCH] Fix dependance for buster --- scripts/_common.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1d97873..f2843c7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -58,8 +58,13 @@ install_source() { } install_dependance() { - ynh_install_app_dependencies python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache \ + if [ "$(lsb_release --codename --short)" == "stretch" ]; then + ynh_install_app_dependencies python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache \ libjpeg62-turbo-dev zlib1g-dev # For building pillow + else + ynh_install_app_dependencies python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-pil python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache \ + libjpeg62-turbo-dev zlib1g-dev # For building pillow + fi pip install --user --upgrade Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna }