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 C3FCA15800A for ; Sun, 23 Jul 2023 15:29:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15DBAE085E; Sun, 23 Jul 2023 15:29:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F249BE0858 for ; Sun, 23 Jul 2023 15:29: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4728D340C5B for ; Sun, 23 Jul 2023 15:29:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97305BFE for ; Sun, 23 Jul 2023 15:29:35 +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: <1690126169.09fe687a4883a728e848dbdb32d584aa2beded37.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-golden/pytest-golden-0.2.2.ebuild X-VCS-Directories: dev-python/pytest-golden/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09fe687a4883a728e848dbdb32d584aa2beded37 X-VCS-Branch: master Date: Sun, 23 Jul 2023 15:29: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: 989b74d3-5bbb-4f7e-b534-1bf7ebcf1733 X-Archives-Hash: a823a97afb91310442f81b06bfa89520 commit: 09fe687a4883a728e848dbdb32d584aa2beded37 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 23 15:24:42 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 23 15:29:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09fe687a dev-python/pytest-golden: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-golden/pytest-golden-0.2.2.ebuild | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild index 3087ff87091d..343ed09d482b 100644 --- a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild +++ b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild @@ -4,17 +4,20 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="Plugin for pytest that offloads expected outputs to data files" HOMEPAGE=" - https://github.com/oprypin/pytest-golden + https://github.com/oprypin/pytest-golden/ https://pypi.org/project/pytest-golden/ " # No tests in PyPI tarballs -SRC_URI="https://github.com/oprypin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/oprypin/pytest-golden/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -29,3 +32,9 @@ RDEPEND=" " distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_golden.plugin + epytest -x +}