diff --git a/manifest.json b/manifest.json index 7e7f94b..77bf8df 100644 --- a/manifest.json +++ b/manifest.json @@ -23,7 +23,7 @@ "mysql" ], "requirements": { - "yunohost": ">= 2.7.14" + "yunohost": ">= 3.4.2" }, "arguments": { "install": [ diff --git a/scripts/_common.sh b/scripts/_common.sh index 213895b..e71d756 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -60,8 +60,6 @@ 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 \ libjpeg62-turbo-dev zlib1g-dev # For building pillow - # Upgrade setuptools for jessie because the new moviepy package is not compatible with setuptools 5.x - [ "$(lsb_release --codename --short)" = "jessie" ] && pip install --upgrade setuptools pip install --upgrade 'Pillow==4.3.0' moviepy } diff --git a/scripts/experimental_helper.sh b/scripts/experimental_helper.sh index d9151a1..8f03a4b 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -54,14 +54,3 @@ ynh_app_package_version () { version_key=$(ynh_read_manifest "$manifest_path" "version") echo "${version_key/*~ynh/}" } - -# Delete a file checksum from the app settings -# -# $app should be defined when calling this helper -# -# usage: ynh_remove_file_checksum file -# | arg: file - The file for which the checksum will be deleted -ynh_delete_file_checksum () { - local checksum_setting_name=checksum_${1//[\/ ]/_} # Replace all '/' and ' ' by '_' - ynh_app_setting_delete $app $checksum_setting_name -}