summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-06-12 19:20:38 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-06-12 19:20:38 +0300
commit56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7 (patch)
tree8abac0e1ce1adaa6ec974e16f924a6c5afedcbc7 /sys-fs
parentsys-fs/lxcfs: fix dev-lang/python-exec[-native-symlinks] on 5.0.0 (diff)
downloadgentoo-56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7.tar.gz
gentoo-56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7.tar.bz2
gentoo-56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7.zip
sys-fs/lxcfs: ensure that a working jinja2 is installed for 5.0.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
index b79143a65295..638e39e113e1 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
@@ -21,7 +21,9 @@ IUSE="doc test"
DEPEND="sys-fs/fuse:3"
RDEPEND="${DEPEND}"
BDEPEND="${PYTHON_DEPS}
- dev-python/jinja
+ $(python_gen_any_dep '
+ dev-python/jinja[${PYTHON_USEDEP}]
+ ')
doc? ( sys-apps/help2man )"
# Needs some black magic to work inside container/chroot.
@@ -29,6 +31,10 @@ RESTRICT="test"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
+python_check_deps() {
+ python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
pkg_setup() {
python-any-r1_pkg_setup
}