localrepo/www-apps/searxng/searxng-9999.ebuild

57 lines
1.0 KiB
Bash
Raw Normal View History

2024-04-29 16:26:29 -05:00
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Privacy-respecting, hackable metasearch engine"
HOMEPAGE="https://docs.searxng.org/index.html"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/searxng/searxng.git"
else
SRC_URI="https://github.com/searxng/searxng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/searx
acct-user/searx
dev-python/certifi
dev-python/flask-babel
2025-04-22 17:32:21 -05:00
dev-python/jinja2
2024-04-29 16:26:29 -05:00
dev-python/lxml
dev-python/pygments
dev-python/python-dateutil
dev-python/pyyaml
dev-python/brotlicffi
dev-python/uvloop
dev-python/httpx-socks
dev-python/setproctitle
2024-10-20 16:23:02 -05:00
dev-python/redis
2024-04-29 16:26:29 -05:00
dev-python/markdown-it-py
dev-python/fasttext-predict
dev-python/pytomlpp
"
INST_DIR="/opt/searxng"
src_compile() {
:
}
src_config() {
:
}
src_install() {
insinto /etc/searxng
doins "searx/settings.yml"
insinto "${INST_DIR}"
doins -r .
fperms u+x "${INST_DIR}/searx/webapp.py"
}