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 EAA95158041 for ; Thu, 7 Mar 2024 19:20:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C871AE29AB; Thu, 7 Mar 2024 19:20:13 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ABB35E29AB for ; Thu, 7 Mar 2024 19:20:13 +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 8E59A33BEF5 for ; Thu, 7 Mar 2024 19:20:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1ED4144C for ; Thu, 7 Mar 2024 19:20:10 +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: <1709839202.b9ae899eef2fec8653cedcf27f780be1ab31f80d.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.4.ebuild X-VCS-Directories: app-portage/command-not-found/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b9ae899eef2fec8653cedcf27f780be1ab31f80d X-VCS-Branch: master Date: Thu, 7 Mar 2024 19:20:10 +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: c5cb8317-4cff-4315-9d32-dd82e11c4bbf X-Archives-Hash: 5b029fe04bdffbdf5aef55eff8a33e7e commit: b9ae899eef2fec8653cedcf27f780be1ab31f80d Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Mar 7 19:15:40 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Mar 7 19:20:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ae899e app-portage/command-not-found: add 0.0.4 In preparation for app-portage/pfl version 3.5, this pfl release will make command-not-found almost twice as fast. Featuring https://github.com/AndrewAmmerlaan/command-not-found-gentoo/pull/2 by @bananas-repos Co-authored-by: Banana <76788321+bananas-repos users.noreply.github.com> Signed-off-by: Andrew Ammerlaan gentoo.org> app-portage/command-not-found/Manifest | 1 + .../command-not-found-0.0.4.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-portage/command-not-found/Manifest b/app-portage/command-not-found/Manifest index 0f82dbf657c9..d135f311e978 100644 --- a/app-portage/command-not-found/Manifest +++ b/app-portage/command-not-found/Manifest @@ -1 +1,2 @@ DIST command-not-found-0.0.3.tar.gz 9534 BLAKE2B 6505e2de7c093b1ac1e4b056addbab9770bd9fedced12b54f454cd56be29d162ef7f14eea91c855aaf95249bb75af7fe36ca079646c5ca9f8aa8580d5036f796 SHA512 e36309f0e609b7fb607abeca79411d6c998f6c6c7f5769b0a0e72e0e44e4b90af550b5df0b22b94d8151751728b0ef0206ff13d1dd5d0262538c28c563f4b5e6 +DIST command-not-found-0.0.4.tar.gz 10028 BLAKE2B b1740a01400ed0084ad22414a586926132d6c9e6994de50812cf885d947c4bd95e65d715bcbc8b13f173464a7896ff6b8ee95782ab8a18d5884aa338bffa28ae SHA512 1c0ed9d17f7cfa18b8d1a8fd914716f6e44dd514f79e92ea8d33e4b0ee8d2556ee23b8853d286993fe72a1bdf23fc656f276fe8264bf78fef83f045169efe7c2 diff --git a/app-portage/command-not-found/command-not-found-0.0.4.ebuild b/app-portage/command-not-found/command-not-found-0.0.4.ebuild new file mode 100644 index 000000000000..1859d6690bfe --- /dev/null +++ b/app-portage/command-not-found/command-not-found-0.0.4.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="~amd64" + +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" +}