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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3B2A159C9B for ; Sat, 3 Aug 2024 07:37:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3503E2A3E; Sat, 3 Aug 2024 07:37:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6DC5E2A3D for ; Sat, 3 Aug 2024 07:37:32 +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 ECB2134069F for ; Sat, 3 Aug 2024 07:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EF361DCC for ; Sat, 3 Aug 2024 07:37:30 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1722670147.4976e8b958b3b05d3820f2b1b2e7a0e9fcdcc105.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/command-not-found/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/command-not-found/Manifest app-portage/command-not-found/command-not-found-0.0.6.ebuild X-VCS-Directories: app-portage/command-not-found/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4976e8b958b3b05d3820f2b1b2e7a0e9fcdcc105 X-VCS-Branch: master Date: Sat, 3 Aug 2024 07:37:30 +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: b4ba1969-2fdd-4352-b3f6-bd0188de2368 X-Archives-Hash: 056bd7a3c3b546081046c569ab0e8a3d commit: 4976e8b958b3b05d3820f2b1b2e7a0e9fcdcc105 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sat Aug 3 07:29:07 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Aug 3 07:29:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4976e8b9 app-portage/command-not-found: add 0.0.6 Signed-off-by: Andrew Ammerlaan gentoo.org> app-portage/command-not-found/Manifest | 1 + .../command-not-found-0.0.6.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-portage/command-not-found/Manifest b/app-portage/command-not-found/Manifest index abd98307c6b6..5dee0b041929 100644 --- a/app-portage/command-not-found/Manifest +++ b/app-portage/command-not-found/Manifest @@ -1 +1,2 @@ DIST command-not-found-0.0.5.tar.gz 10045 BLAKE2B 5225fe4512516518172b1c7d25563488f26b359e0698a3352ebf2143dd7983fee2c44050e2b4abf72377780875436861855f0891bc10d429fba9bba695808bf3 SHA512 9125e168d64b7474f83d1bc8ed7f54ef332190d0d7325c281f1a041d47b23ce18170dff2fa3342468941cba7b0197821790ef5d1e9b8c1ee1f5a6ba1383b1005 +DIST command-not-found-0.0.6.tar.gz 10290 BLAKE2B 352a77790539acca9d54902e8078b580a5f4a789d61c395944363b4a42f8750cd518e3d8a22f69c409c8ab090cf6345677c324f3faa1e67071439cd6f600c7a3 SHA512 9396b7cb1cbcbc53047928ede0f77613e7f5ad3d5855f6476c40642c52a419aa6227e9b329d8d73d267fbd946e36f21740420ea854555025ddd2ea7eb1dbcec2 diff --git a/app-portage/command-not-found/command-not-found-0.0.6.ebuild b/app-portage/command-not-found/command-not-found-0.0.6.ebuild new file mode 100644 index 000000000000..4943e69c1ba9 --- /dev/null +++ b/app-portage/command-not-found/command-not-found-0.0.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit optfeature python-r1 + +DESCRIPTION="Command-not-found handler for Gentoo" +HOMEPAGE="https://github.com/AndrewAmmerlaan/command-not-found-gentoo" +SRC_URI="https://github.com/AndrewAmmerlaan/command-not-found-gentoo/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-gentoo-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +src_install() { + python_foreach_impl python_doscript command-not-found + + insinto /etc/bash/bashrc.d + doins command-not-found.sh + + einstalldocs +} + +pkg_postinst() { + elog "${PN} is automatically setup for app-shells/bash, see" + elog " /usr/share/doc/${PF}/README.md" + elog "for instructions on how to set it up for various other shells." + elog + optfeature "suggesting snaps providing the missing command" "app-containers/snapd" + optfeature "suggesting ebuilds providing the missing command" "app-portage/pfl" +}