From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
Date: Sun, 23 Jul 2023 15:29:35 +0000 (UTC) [thread overview]
Message-ID: <1690126169.09fe687a4883a728e848dbdb32d584aa2beded37.mgorny@gentoo> (raw)
commit: 09fe687a4883a728e848dbdb32d584aa2beded37
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 15:24:42 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
+}
next reply other threads:[~2023-07-23 15:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-23 15:29 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-30 11:51 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/ Petr Vaněk
2024-06-28 11:38 Michał Górny
2023-07-23 15:29 Michał Górny
2023-07-08 23:39 Marek Szuba
2023-07-08 0:52 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1690126169.09fe687a4883a728e848dbdb32d584aa2beded37.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox