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 D936715800F for ; Thu, 16 Feb 2023 05:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E933E0917; Thu, 16 Feb 2023 05:08:52 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F3C1E0909 for ; Thu, 16 Feb 2023 05:08:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 331FB340DC6 for ; Thu, 16 Feb 2023 05:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C537D8B1 for ; Thu, 16 Feb 2023 05:08:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676524108.d412c9753c1e2c701f46d84c61cecfb2917f2be8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild X-VCS-Directories: app-crypt/tpm2-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d412c9753c1e2c701f46d84c61cecfb2917f2be8 X-VCS-Branch: master Date: Thu, 16 Feb 2023 05:08:49 +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: 272ff14f-54bb-4813-a4f6-b548957c827d X-Archives-Hash: 743d9b5b0b20e9e1c6c90b32932d05c6 commit: d412c9753c1e2c701f46d84c61cecfb2917f2be8 Author: Christopher Byrne gmail com> AuthorDate: Tue Feb 14 22:30:32 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 16 05:08:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d412c975 app-crypt/tpm2-tools: add missing python_check_deps and enable py3.11 Signed-off-by: Christopher Byrne gmail.com> Signed-off-by: Sam James gentoo.org> app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild index 3ab7ad1a2fbe..b51e5b4b83e0 100644 --- a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild +++ b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit autotools bash-completion-r1 flag-o-matic python-any-r1 DESCRIPTION="Tools for the TPM 2.0 TSS" @@ -41,6 +41,14 @@ PATCHES=( "${FILESDIR}/${PN}-5.2-testparms-fix-condition-for-negative-test.patch" ) +python_check_deps() { + python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default sed -i \