aboutsummaryrefslogtreecommitdiff
path: root/www-apps/searxng/searxng-2026.04.24-r1.ebuild
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-04-27 07:54:47 +0100
committerAutumn <git@autumnfo.rest>2026-04-27 07:54:47 +0100
commit6bf99c1f1307c0bbd9ad275c82ba66b0201d9f87 (patch)
treec55b8caf6d2124c9ceadca30ee5b31fb7fb2d49c /www-apps/searxng/searxng-2026.04.24-r1.ebuild
parent892bb7ec8fc481d91f99cfadc038af0732948729 (diff)
[www-apps/searxng] added missing dependency
Diffstat (limited to 'www-apps/searxng/searxng-2026.04.24-r1.ebuild')
-rw-r--r--www-apps/searxng/searxng-2026.04.24-r1.ebuild76
1 files changed, 76 insertions, 0 deletions
diff --git a/www-apps/searxng/searxng-2026.04.24-r1.ebuild b/www-apps/searxng/searxng-2026.04.24-r1.ebuild
new file mode 100644
index 0000000..f9f9ead
--- /dev/null
+++ b/www-apps/searxng/searxng-2026.04.24-r1.ebuild
@@ -0,0 +1,76 @@
+#
+# ~~~ www-apps/searxng
+#
+# ~~~ a self-hosted meta search engine
+#
+
+#
+# ~~~ metadata
+
+# portage info
+EAPI=8
+SLOT=0
+
+KEYWORDS="amd64"
+
+# info
+HOMEPAGE="https://docs.searxng.org/"
+DESCRIPTION="A self-hosted meta search engine"
+COMMIT="a7ac696b4a146af905397b8b9a07b18f4cd42bb5"
+LICENSE="AGPL-3"
+
+# package data
+SRC_URI="https://github.com/searxng/searxng/archive/${COMMIT}.zip -> ${P}.zip"
+S="${WORKDIR}/searxng-${COMMIT}"
+
+#
+# ~~~ dependencies
+
+# python setup
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{10..14} )
+
+inherit distutils-r1
+
+# use systemd
+inherit systemd
+
+# build-time dependencies
+BDEPEND=">=dev-python/msgspec-0.21.1"
+
+# run-time dependencies
+RDEPEND="
+ acct-user/searxng
+ acct-group/searxng
+ >=dev-python/babel-2.18.0
+ >=dev-python/certifi-2026.2.25
+ >=dev-python/flask-3.1.3
+ >=dev-python/flask-babel-4.0.0
+ >=dev-python/httpx-0.28.1
+ >=dev-python/httpx-socks-0.10.0
+ >=dev-python/isodate-0.7.2
+ >=dev-python/lxml-6.0.4
+ >=dev-python/markdown-it-py-4.0.0
+ >=dev-python/msgspec-0.21.1
+ >=dev-python/pygments-2.20.0
+ >=dev-python/python-dateutil-2.9.0_p0
+ >=dev-python/pyyaml-6.0.3
+ >=dev-python/sniffio-1.3.1
+ >=dev-python/typer-0.24.1
+ >=dev-python/valkey-6.1.1
+ >=dev-python/whitenoise-6.12.0
+ www-servers/uwsgi[python]"
+
+#
+# ~~~ steps
+
+# install
+src_install() {
+ distutils-r1_src_install
+
+ keepdir /etc/searxng
+ fowners searxng:searxng /etc/searxng
+ fperms 0750 /etc/searxng
+
+ systemd_dounit "${FILESDIR}/searxng.service"
+}