# searx-git PKGBUILD python3 patch -rw-r--r-- 1.6 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
diff --git a/PKGBUILD b/PKGBUILD
index 8f58276..03e7982 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,25 @@
 # Contributor: Reventlov <contact+aur at volcanis dot me>

 pkgname=searx-git
-pkgver=0.15.0+r155+g8e62f760
+pkgver=0.15.0+r348+g34ad3d6b
 pkgrel=1
 pkgdesc='Privacy-respecting metasearch engine (git)'
 arch=(any)
 url=https://asciimoo.github.io/searx/
 license=(AGPL3)
-depends=(python2-certifi
-         python2-babel
-         python2-flask-babel
-         python2-flask
-         python2-idna
-         python2-jinja
-         python2-lxml
-         python2-pygments
-         python2-pyopenssl
-         python2-dateutil
-         python2-yaml
-         python2-requests
-         python2-pysocks)
+depends=(python-certifi
+         python-babel
+         python-flask-babel
+         python-flask
+         python-idna
+         python-jinja
+         python-lxml
+         python-pygments
+         python-pyopenssl
+         python-dateutil
+         python-yaml
+         python-requests
+         python-pysocks)
 makedepends=(git)
 optdepends=('filtron: filter incoming HTTP requests'
             'morty: proxy server for search results')
@@ -50,9 +50,9 @@ prepare() {
 package() {
   cd searx

-  python2 setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
   # Move incorrectly-placed searx files
-  mv "$pkgdir"/usr/lib/python2.7/site-packages/{README.rst,requirements*,searx}
+  mv "$pkgdir"/usr/lib/python3.8/site-packages/{README.rst,requirements*,searx}

   install -Dm 600 searx/settings.yml "$pkgdir"/etc/searx.conf