Merge pull request #32 from YunoHost-Apps/upgrade_14

Upgrade 14
This commit is contained in:
JimboJoe 2018-05-08 09:04:49 +02:00 committed by GitHub
commit c4311b88db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 19 deletions

View File

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/asciimoo/searx/archive/v0.13.1.tar.gz SOURCE_URL=https://github.com/asciimoo/searx/archive/v0.14.0.tar.gz
SOURCE_SUM=aefa314c7d6d75a2f76cf1aa1e8002d1 SOURCE_SUM=002c7f9ceeafc5ada2f1fd30b5d5f6c9
SOURCE_SUM_PRG=md5sum SOURCE_SUM_PRG=md5sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View File

@ -7,7 +7,7 @@
"fr": "Un méta-moteur de recherche respectueux de la vie privée et bidouillable", "fr": "Un méta-moteur de recherche respectueux de la vie privée et bidouillable",
"de": "Eine Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist." "de": "Eine Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist."
}, },
"version": "0.13.1-1", "version": "0.14.0~ynh1",
"url": "https://asciimoo.github.io/searx/", "url": "https://asciimoo.github.io/searx/",
"license": "AGPLv3", "license": "AGPLv3",
"maintainer": { "maintainer": {

View File

@ -94,7 +94,7 @@ ynh_setup_source "$final_path"
#================================================= #=================================================
virtualenv --system-site-packages "$final_path" virtualenv --system-site-packages "$final_path"
bash -c "source $final_path/bin/activate && pip install -U pip setuptools && pip install --requirement $final_path/requirements-ynh.txt" bash -c "source $final_path/bin/activate && pip install -U setuptools && pip install --requirement $final_path/requirements-ynh.txt"
#================================================= #=================================================
# CONFIGURE SEARX # CONFIGURE SEARX

View File

@ -96,9 +96,9 @@ ynh_system_user_create $app
# UPGRADE SEARX IN ITS VIRTUALENV # UPGRADE SEARX IN ITS VIRTUALENV
#================================================= #=================================================
rm -r $final_path/lib/python2.7/site-packages/{pip,setuptools} $final_path/lib/python2.7/site-packages/setuptools-* $final_path/lib/python2.7/site-packages/pip-* rm -r $final_path/lib/python2.7/site-packages/setuptools $final_path/lib/python2.7/site-packages/setuptools-*
virtualenv --system-site-packages "$final_path" virtualenv --system-site-packages "$final_path"
bash -c "source $final_path/bin/activate && pip install -U pip setuptools && pip install --requirement $final_path/requirements-ynh.txt --upgrade" bash -c "source $final_path/bin/activate && pip install -U setuptools && pip install --requirement $final_path/requirements-ynh.txt --upgrade"
#================================================= #=================================================
# CONFIGURE SEARX # CONFIGURE SEARX

View File

@ -1,14 +1,18 @@
certifi==2016.9.26 # Have a look to https://github.com/asciimoo/searx/blob/master/requirements.txt for each upgrade of Searx
flask==0.12 certifi==2017.11.5
flask-babel==0.11.1 flask==0.12.2
# lxml==3.7.1 flask-babel==0.11.2
markupsafe==0.23 # lxml==4.1.1
ndg-httpsclient==0.4.2 idna==2.5
pyasn1==0.1.9
pyasn1-modules==0.0.8
pygments==2.1.3 pygments==2.1.3
pyopenssl==16.2.0 pyopenssl==17.4.0
python-dateutil==2.5.3 python-dateutil==2.6.1
pyyaml==3.11 pyyaml==3.12
requests[socks]==2.12.4 requests[socks]==2.18.4
cffi>=1.6
# Additionnals requirements
markupsafe>=0.23
ndg-httpsclient>=0.4.2
pyasn1>=0.1.9
pyasn1-modules>=0.0.8
cffi>=1.6