mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Remove debian Jessie support
This commit is contained in:
parent
60b800c4ce
commit
db4035f733
3 changed files with 1 additions and 14 deletions
|
@ -23,7 +23,7 @@
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 2.7.14"
|
"yunohost": ">= 3.4.2"
|
||||||
},
|
},
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install": [
|
"install": [
|
||||||
|
|
|
@ -60,8 +60,6 @@ install_source() {
|
||||||
install_dependance() {
|
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 \
|
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
|
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
|
pip install --upgrade 'Pillow==4.3.0' moviepy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,14 +54,3 @@ ynh_app_package_version () {
|
||||||
version_key=$(ynh_read_manifest "$manifest_path" "version")
|
version_key=$(ynh_read_manifest "$manifest_path" "version")
|
||||||
echo "${version_key/*~ynh/}"
|
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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue