on master help sign in
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
commit9f1cb7a943cc5a5e26fec753ddeec47bd3580ea0 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 4 Mar 2020, 12:11 (7 years ago) parent3cb7daea5d3585
10 files changed+28396−27532
Makefile+13 requirements-dev.txt+1 searx/data/engines_languages.json+28332−27487 searx/engines/bing.py+14−9 searx/engines/bing_images.py+2−19 searx/engines/bing_news.py+3−1 searx/engines/bing_videos.py+5−1 searx/engines/google_news.py+1−1 searx/languages.py+12−4 utils/fetch_languages.py+13−10
Makefile+13
@@ -25,6 +25,7 @@ help:
2525 @echo ' uninstall - uninstall (./local)'
2626 @echo ' gh-pages - build docs & deploy on gh-pages branch'
2727 @echo ' clean - drop builds and environments'
28+ @echo ' project - re-build generic files of the searx project'
2829 @echo ''
2930 @echo 'environment'
3031 @echo ' SEARX_URL = $(SEARX_URL)'
@@ -78,6 +79,18 @@ prebuild-includes:
7879$(GH_PAGES)::
7980 @echo "doc available at --> $(DOCS_URL)"
8081
82+# update project files
83+# --------------------
84+
85+PHONY += project engines-languages
86+
87+project: searx/data/engines_languages.json
88+
89+searx/data/engines_languages.json: pyenvinstall
90+ $(PY_ENV_ACT); python utils/fetch_languages.py
91+ mv engines_languages.json searx/data/engines_languages.json
92+ mv languages.py searx/languages.py
93+
8194# test
8295# ----
8396
requirements-dev.txt+1
@@ -5,6 +5,7 @@ mock==2.0.0
55nose2[coverage_plugin]
66cov-core==1.15.0
77pep8==1.7.0
8+pylint
89plone.testing==5.0.0
910splinter==0.11.0
1011transifex-client==0.12.2
searx/data/engines_languages.json+28332−27487

This diff is too big to show here.

searx/engines/bing.py+14−9

This diff is too big to show here.

searx/engines/bing_images.py+2−19

This diff is too big to show here.

searx/engines/bing_news.py+3−1

This diff is too big to show here.

searx/engines/bing_videos.py+5−1

This diff is too big to show here.

searx/engines/google_news.py+1−1

This diff is too big to show here.

searx/languages.py+12−4

This diff is too big to show here.

utils/fetch_languages.py+13−10

This diff is too big to show here.