1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

Patch 0.16.0

This commit is contained in:
maniack 2020-02-16 21:09:39 +01:00
parent de77350be2
commit 3d97015e9a
3 changed files with 17 additions and 3 deletions

View file

@ -84,6 +84,13 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
#=================================================
# PATCH VERSION 0.16.0
#=================================================
# Apply fix https://github.com/asciimoo/searx/pull/1831 on the current 0.16.0 release.
ynh_replace_string --match_string="werkzeug.contrib.fixers" --replace_string="werkzeug.middleware.proxy_fix" --target_file="$final_path/searx/webapp.py"
#=================================================
# SPECIFIC SETUP
#=================================================

View file

@ -90,6 +90,13 @@ then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
#=================================================
# PATCH VERSION 0.16.0
#=================================================
# Apply fix https://github.com/asciimoo/searx/pull/1831 on the current 0.16.0 release.
ynh_replace_string --match_string="werkzeug.contrib.fixers" --replace_string="werkzeug.middleware.proxy_fix" --target_file="$final_path/searx/webapp.py"
fi
#=================================================

View file

@ -1,11 +1,11 @@
# Have a look to https://github.com/asciimoo/searx/blob/master/requirements.txt for each upgrade of Searx
certifi==2019.3.9
babel==2.7.0
#babel==2.7.0
flask-babel==1.0.0
flask==1.0.2
idna==2.8
jinja2==2.10.1
lxml==4.3.3
#lxml==4.3.3
pygments==2.1.3
pyopenssl==19.0.0
python-dateutil==2.8.0
@ -17,4 +17,4 @@ markupsafe>=0.23
ndg-httpsclient>=0.4.2
pyasn1>=0.2.3
pyasn1-modules>=0.0.9
cffi>=1.12.1
#cffi>=1.12.1