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 DE1AA158043 for ; Sun, 3 Mar 2024 16:20:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F813E2A56; Sun, 3 Mar 2024 16:20:28 +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 12D8CE2A56 for ; Sun, 3 Mar 2024 16:20:28 +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 29C9633BED4 for ; Sun, 3 Mar 2024 16:20:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F8AD14EC for ; Sun, 3 Mar 2024 16:20:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1709482790.0fa758d4ebf7f0be6b99dc8783370a777499afb7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/glep63-check/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/glep63-check/glep63-check-11.ebuild X-VCS-Directories: app-crypt/glep63-check/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0fa758d4ebf7f0be6b99dc8783370a777499afb7 X-VCS-Branch: master Date: Sun, 3 Mar 2024 16:20:24 +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: 8906cfe6-94fe-4bd4-87eb-06f20e33f363 X-Archives-Hash: 88af78a592778160735451d5b19c9213 commit: 0fa758d4ebf7f0be6b99dc8783370a777499afb7 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 3 16:18:42 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 3 16:19:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa758d4 app-crypt/glep63-check: Fix running tests with modern Portage Signed-off-by: Michał Górny gentoo.org> app-crypt/glep63-check/glep63-check-11.ebuild | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/app-crypt/glep63-check/glep63-check-11.ebuild b/app-crypt/glep63-check/glep63-check-11.ebuild index 37398e67dec8..c1d3c5a0eee9 100644 --- a/app-crypt/glep63-check/glep63-check-11.ebuild +++ b/app-crypt/glep63-check/glep63-check-11.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 @@ -12,17 +12,28 @@ DESCRIPTION="GLEP 63 compliance checker for OpenPGP keys" HOMEPAGE="https://github.com/projg2/glep63-check/" SRC_URI=" https://github.com/projg2/glep63-check/archive/v${PV}.tar.gz - -> ${P}.tar.gz" + -> ${P}.tar.gz +" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -RDEPEND="app-crypt/gnupg" +RDEPEND=" + app-crypt/gnupg +" DEPEND=" test? ( >=app-crypt/gnupg-2.3.3 sys-libs/libfaketime - )" + ) +" distutils_enable_tests unittest + +src_test() { + local -x GNUPGHOME=${T}/gnupg + mkdir -p "${GNUPGHOME}" || die + + distutils-r1_src_test +}