diff options
| author | Autumn <git@autumnfo.rest> | 2026-04-27 07:38:29 +0100 |
|---|---|---|
| committer | Autumn <git@autumnfo.rest> | 2026-04-27 07:38:29 +0100 |
| commit | 2e11d4dd8a807cf66eb7f35dfc3830c0c88094fa (patch) | |
| tree | 23b3b321b398d941ea5711ffc1979b0693eebe37 /www-apps/searxng/searxng-2026.04.24.ebuild | |
| parent | 252696a75d32004cf421a91d5a8b57d5a72edc93 (diff) | |
[www-apps/searxng] added searxng 2026-04-24
Diffstat (limited to 'www-apps/searxng/searxng-2026.04.24.ebuild')
| -rw-r--r-- | www-apps/searxng/searxng-2026.04.24.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/searxng/searxng-2026.04.24.ebuild b/www-apps/searxng/searxng-2026.04.24.ebuild new file mode 100644 index 0000000..290b367 --- /dev/null +++ b/www-apps/searxng/searxng-2026.04.24.ebuild @@ -0,0 +1,75 @@ +# +# ~~~ 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/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" +} |
