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: Thu,  7 Mar 2024 19:20:10 +0000 (UTC)	[thread overview]
Message-ID: <1709839202.b9ae899eef2fec8653cedcf27f780be1ab31f80d.andrewammerlaan@gentoo> (raw)

commit:     b9ae899eef2fec8653cedcf27f780be1ab31f80d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  7 19:15:40 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <AT> users.noreply.github.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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"
+}


             reply	other threads:[~2024-03-07 19:20 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 19:20 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-20  9:55 [gentoo-commits] repo/gentoo:master commit in: app-portage/command-not-found/ 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-02-28  8:37 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=1709839202.b9ae899eef2fec8653cedcf27f780be1ab31f80d.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