public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/command-not-found/
Date: Wed, 28 Feb 2024 08:37:00 +0000 (UTC)	[thread overview]
Message-ID: <1709109306.833b47a00d790886c4c99c8e89b810ee3ca827a3.andrewammerlaan@gentoo> (raw)

commit:     833b47a00d790886c4c99c8e89b810ee3ca827a3
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 08:35:06 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 08:35:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833b47a0

app-portage/command-not-found: add 0.0.3

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-portage/command-not-found/Manifest             |  1 +
 .../command-not-found-0.0.3.ebuild                 | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-portage/command-not-found/Manifest b/app-portage/command-not-found/Manifest
index 38833a3443ee..be8335b60930 100644
--- a/app-portage/command-not-found/Manifest
+++ b/app-portage/command-not-found/Manifest
@@ -1 +1,2 @@
 DIST command-not-found-0.0.2.tar.gz 9039 BLAKE2B 9781ce588e3e90868dc35745d5f4b24586dd365a0bd2a37a15d973e942ebbd0710675268fe3875be621be51ee7e4b9800865de3d99d58927588d2f05cfe6b789 SHA512 b2b81b754d96364e58d8f71d7024c2c4bc635aff7bd17df4bbc14791f9d7cbd266b2d4ab369ccaaed7b4aca5bb41622c3ce5d7a81795221c5dae3bed001447e4
+DIST command-not-found-0.0.3.tar.gz 9534 BLAKE2B 6505e2de7c093b1ac1e4b056addbab9770bd9fedced12b54f454cd56be29d162ef7f14eea91c855aaf95249bb75af7fe36ca079646c5ca9f8aa8580d5036f796 SHA512 e36309f0e609b7fb607abeca79411d6c998f6c6c7f5769b0a0e72e0e44e4b90af550b5df0b22b94d8151751728b0ef0206ff13d1dd5d0262538c28c563f4b5e6

diff --git a/app-portage/command-not-found/command-not-found-0.0.3.ebuild b/app-portage/command-not-found/command-not-found-0.0.3.ebuild
new file mode 100644
index 000000000000..b0007e526a58
--- /dev/null
+++ b/app-portage/command-not-found/command-not-found-0.0.3.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 "command-not-found is automatically setup with bash, to use it with zsh add"
+	elog "    \"source /etc/bash/bashrc.d/command-not-found.sh\""
+	elog "anywhere in your /etc/zsh/zshrc or ~/.zshrc"
+	elog
+	optfeature "suggesting snaps providing the missing command" "app-containers/snapd"
+	optfeature "suggesting ebuilds providing the missing command" "app-portage/pfl"
+}


             reply	other threads:[~2024-02-28  8:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28  8:37 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06 17:43 [gentoo-commits] repo/gentoo:master commit in: app-portage/command-not-found/ Nowa Ammerlaan
2024-11-20  9:55 Nowa Ammerlaan
2024-11-20  9:55 Nowa Ammerlaan
2024-10-17  8:03 Andrew Ammerlaan
2024-09-05  7:46 Andrew Ammerlaan
2024-09-05  7:46 Andrew Ammerlaan
2024-08-03  7:37 Andrew Ammerlaan
2024-07-11 11:50 Andrew Ammerlaan
2024-06-12 21:50 Sam James
2024-05-28  6:25 Jakov Smolić
2024-05-25 12:39 WANG Xuerui
2024-05-21  6:22 Arthur Zamarin
2024-05-04  7:10 Arthur Zamarin
2024-05-03  9:21 Andrew Ammerlaan
2024-04-30 15:39 Sam James
2024-04-30 15:39 Sam James
2024-04-30 15:39 Sam James
2024-04-30 15:39 Sam James
2024-04-30 15:39 Sam James
2024-04-04 14:40 Andrew Ammerlaan
2024-03-07 19:20 Andrew Ammerlaan
2024-03-07 19:20 Andrew Ammerlaan
2024-02-28  8:37 Andrew Ammerlaan
2024-02-27 10:59 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709109306.833b47a00d790886c4c99c8e89b810ee3ca827a3.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox