mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
sys-fs/lxcfs: fix dev-lang/python-exec[-native-symlinks] on 5.0.0
Closes: https://bugs.gentoo.org/851480 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake meson systemd
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit cmake meson python-any-r1 systemd
|
||||
|
||||
MY_COMMIT="18e78f70fa6764be4e4f6fcc6ae8d314da7f3a91"
|
||||
|
||||
@@ -18,7 +20,8 @@ IUSE="doc test"
|
||||
|
||||
DEPEND="sys-fs/fuse:3"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-python/jinja
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-python/jinja
|
||||
doc? ( sys-apps/help2man )"
|
||||
|
||||
# Needs some black magic to work inside container/chroot.
|
||||
@@ -26,8 +29,16 @@ RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix python shebangs for python-exec[-native-symlinks], #851480
|
||||
local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
|
||||
python_fix_shebang -q ${shebangs[*]}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user