From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04E21158091 for ; Sun, 12 Jun 2022 16:21:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EB84E086E; Sun, 12 Jun 2022 16:21:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 100CAE086E for ; Sun, 12 Jun 2022 16:21:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0614341BE8 for ; Sun, 12 Jun 2022 16:21:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CF0144B for ; Sun, 12 Jun 2022 16:21:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1655050838.56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild X-VCS-Directories: sys-fs/lxcfs/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7 X-VCS-Branch: master Date: Sun, 12 Jun 2022 16:21:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: efd29e3e-82f0-41c8-80fc-03c6321ad3ac X-Archives-Hash: bf74f7a908888513c868ece25949e06b commit: 56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7 Author: Joonas Niilola gentoo org> AuthorDate: Sun Jun 12 16:20:38 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jun 12 16:20:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56fbf10c sys-fs/lxcfs: ensure that a working jinja2 is installed for 5.0.0 Signed-off-by: Joonas Niilola gentoo.org> sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 }