From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD15915808B for ; Tue, 1 Oct 2024 02:46:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11C65E29BA; Tue, 1 Oct 2024 02:46:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5F5DE29BA for ; Tue, 1 Oct 2024 02:46:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E222343003 for ; Tue, 1 Oct 2024 02:46:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39B261A09 for ; Tue, 1 Oct 2024 02:46:42 +0000 (UTC) From: "Bailey Kasin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bailey Kasin" Message-ID: <1727750795.81d2911d3000b77371a394697505391f3ea70e07.baileykasin@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/whoogle-search/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/whoogle-search/Manifest www-apps/whoogle-search/whoogle-search-0.9.0.ebuild X-VCS-Directories: www-apps/whoogle-search/ X-VCS-Committer: baileykasin X-VCS-Committer-Name: Bailey Kasin X-VCS-Revision: 81d2911d3000b77371a394697505391f3ea70e07 X-VCS-Branch: dev Date: Tue, 1 Oct 2024 02:46:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7dc6c6ea-1853-4338-8bf0-74620b6f1160 X-Archives-Hash: 1dd0e3976d4051d5fc42f1c5ad79adce commit: 81d2911d3000b77371a394697505391f3ea70e07 Author: Bailey Kasin gmail com> AuthorDate: Tue Oct 1 02:38:23 2024 +0000 Commit: Bailey Kasin gmail com> CommitDate: Tue Oct 1 02:46:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81d2911d www-apps/whoogle-search: add 0.9.0 Signed-off-by: Cat Kasin gmail.com> www-apps/whoogle-search/Manifest | 1 + .../whoogle-search/whoogle-search-0.9.0.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/www-apps/whoogle-search/Manifest b/www-apps/whoogle-search/Manifest index 4570793a3..8da5dcb80 100644 --- a/www-apps/whoogle-search/Manifest +++ b/www-apps/whoogle-search/Manifest @@ -1 +1,2 @@ DIST whoogle-search-0.8.4.gh.tar.gz 616189 BLAKE2B 23c547d330b3b098eea4d63029ba109f8ecc0f4fefe031c77fcdb52d657aeb93d8d6fa3ae8f54ff9a7218c7c31aa1eccba57b333c376b92cc6a841f60cb14240 SHA512 6a9f7e7502253c2c6b72e8753595f4d57dca6fad2fceb1fece6e40203f7b85eb0ef7debda4852ed347b103ae89c1a188ccb989e56bc7c0ad81dccdda69dc2b58 +DIST whoogle-search-0.9.0.gh.tar.gz 617855 BLAKE2B f4051918971609f82062bd6796aea63c491ef6bb8263a94d1b3f93096ffd2db5a64d890a1990c9bfbdc191bb739c092d15bc313ec8dc26e2ba8a660bb7995e25 SHA512 eb6edc8a25dfc374439480370ae35c87e334c845f8e1128888a5be1c9033dbc83148c732126fdb493f928a1f40a925789c91d1fca83d5ff2b51c519e6e795dc7 diff --git a/www-apps/whoogle-search/whoogle-search-0.9.0.ebuild b/www-apps/whoogle-search/whoogle-search-0.9.0.ebuild new file mode 100644 index 000000000..5c4cd6b33 --- /dev/null +++ b/www-apps/whoogle-search/whoogle-search-0.9.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 systemd + +DESCRIPTION="A self-hosted, ad-free, privacy-respecting metasearch engine" +HOMEPAGE="https://github.com/benbusby/whoogle-search" +SRC_URI="https://github.com/benbusby/whoogle-search/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cssutils[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/waitress[${PYTHON_USEDEP}] + dev-python/validators[${PYTHON_USEDEP}] + app-arch/brotli[${PYTHON_USEDEP},python] + net-libs/stem + acct-user/whoogle + acct-group/whoogle +" + +src_install() { + rm -r .github docs test .dockerignore .gitignore .replit \ + docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md \ + requirements.txt + mkdir -p "${ED}/opt/whoogle-search" || die + insinto /opt/whoogle-search + doins -r ./* + fperms -R 0755 /opt/whoogle-search + fowners -R whoogle:whoogle /opt/whoogle-search + + insinto /etc/default/ + doins "${FILESDIR}/whoogle" + insinto /usr/lib/sysusers.d/ + doins "${FILESDIR}/whoogle.conf" + + newinitd "${FILESDIR}"/whoogle.initd whoogle + systemd_dounit "${FILESDIR}/whoogle.service" +}