mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
app-portage/command-not-found: proper prefixify for RAP
Do not prefixify command-not-found python script because the search path should remain without prefix. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/37 Merges: https://codeberg.org/gentoo/gentoo/pulls/37 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
+7
-2
@@ -1,11 +1,11 @@
|
||||
# Copyright 2019-2025 Gentoo Authors
|
||||
# Copyright 2019-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit optfeature python-r1
|
||||
inherit optfeature prefix python-r1
|
||||
|
||||
DESCRIPTION="Command-not-found handler for Gentoo"
|
||||
HOMEPAGE="https://github.com/Nowa-Ammerlaan/command-not-found-gentoo"
|
||||
@@ -21,6 +21,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
hprefixify command-not-found.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript command-not-found
|
||||
|
||||
Reference in New Issue
Block a user