public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-regressions/
Date: Fri,  1 Sep 2023 05:06:23 +0000 (UTC)	[thread overview]
Message-ID: <1693544776.9dedf30623dab509e30b38d08134bc418ab940d9.mgorny@gentoo> (raw)

commit:     9dedf30623dab509e30b38d08134bc418ab940d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 04:37:36 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 05:06:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dedf306

dev-python/pytest-regressions: Bump to 2.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-regressions/Manifest             |  1 +
 .../pytest-regressions-2.5.0.ebuild                | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest
index 9a098b95ec93..ff5051faff4a 100644
--- a/dev-python/pytest-regressions/Manifest
+++ b/dev-python/pytest-regressions/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-regressions-2.4.2.tar.gz 111030 BLAKE2B 4c1d3ce9a210b6156e046b91688aec6ecab53d4719b5b556cdf6773a6af891352f7f213259140fdb7234f2528dbad5bf5c4ed43431aee94bfd373dd1839c1231 SHA512 f5abcc09da7a466e446329737d4926d3c7c9ac274e1087e6f746fe263b4cfd1b0f4b8870eea3d22b1209a0d5ead7b7169e700d10f3f29bb978e12a33511b1f51
 DIST pytest-regressions-2.4.3.tar.gz 111049 BLAKE2B a9b11ec715c49f63c5972bad6332715b22efd363c70f067c4c077ae0e9af64178edb98aa36cd4d24287db4b2705367c18c09795b7830a09e2007c7da8a078964 SHA512 4264e2d791f6235b5de57a45550f8d0d0a6d3f7f10b40095698670daa8848005bc44c3cb2c11d793b58eb8b27e3910042c63fd4c0bd573ed57615d570e9e7d8b
+DIST pytest-regressions-2.5.0.tar.gz 113615 BLAKE2B 3364893a9cd96a44611d023c08fe5e319ceaad5a6a9b210b72095a560c42742c871406de1290821ea5cd61960bf5bef72d08bd143db93b20f288d5367cf1ae70 SHA512 2d23568b8d5dbc86000c9b552c72a1e269fafe79e0b829f799fe31ecc142e74d233c69940a51d2da457c6f7b3713fcd788461b0420eca9d56cc395568c517c0f

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild
new file mode 100644
index 000000000000..2656b1b8d726
--- /dev/null
+++ b/dev-python/pytest-regressions/pytest-regressions-2.5.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Easy to use fixtures to write regression tests"
+HOMEPAGE="
+	https://github.com/ESSS/pytest-regressions/
+	https://pypi.org/project/pytest-regressions/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	dev-python/pytest[${PYTHON_USEDEP}]
+	dev-python/pytest-datadir[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/sphinx-rtd-theme
+
+python_test() {
+	local EPYTEST_DESELECT=()
+	local EPYTEST_IGNORE=()
+	if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			tests/test_image_regression.py::test_image_regression
+		)
+	fi
+	if ! has_version "dev-python/numpy[${PYTHON_USEDEP}]"; then
+		EPYTEST_IGNORE+=(
+			tests/test_ndarrays_regression.py
+		)
+	fi
+	if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			tests/test_filenames.py::test_foo
+			tests/test_filenames.py::TestClass::test_foo
+			tests/test_filenames.py::TestClassWithIgnoredName::test_foo
+		)
+		EPYTEST_IGNORE+=(
+			tests/test_dataframe_regression.py
+			tests/test_num_regression.py
+		)
+	fi
+	if ! has_version "dev-python/pillow[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			tests/test_image_regression.py
+		)
+	fi
+
+	epytest
+}


             reply	other threads:[~2023-09-01  5:06 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01  5:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-11 11:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-regressions/ Michał Górny
2023-10-06 15:08 Michał Górny
2023-10-06 14:31 Sam James
2023-08-31 13:22 Michał Górny
2023-05-29 12:49 Michał Górny
2023-05-29 12:49 Michał Górny
2023-04-09 20:40 Andrew Ammerlaan
2023-03-19 17:36 Arthur Zamarin
2023-03-17 15:23 Michał Górny
2023-02-16 20:58 Arthur Zamarin
2023-01-25 16:10 WANG Xuerui
2023-01-14  4:57 Michał Górny
2022-10-22 15:58 Michał Górny
2022-10-22 15:50 Arthur Zamarin
2022-09-19 19:02 Arthur Zamarin
2022-06-24 15:46 Michał Górny
2022-05-17 12:20 Andrew Ammerlaan
2022-05-07 20:00 Michał Górny
2022-03-12 11:17 Arthur Zamarin
2022-03-01 11:30 Agostino Sarubbo
2022-02-28 10:13 Michał Górny
2022-02-28 10:13 Michał Górny
2022-02-28 10:13 Michał Górny
2022-02-28  8:35 Michał Górny
2022-02-13 13:00 Michał Górny
2022-02-13 10:38 Agostino Sarubbo
2022-02-07 11:36 Sam James
2022-01-19 22:59 Michał Górny
2022-01-04 21:46 Arthur Zamarin
2021-11-20  6:35 Sam James
2021-11-19  8:37 Arthur Zamarin
2021-11-19  7:59 Arthur Zamarin
2021-09-27 10:14 James Le Cuirot
2021-09-07  5:30 Sam James
2021-09-07  2:47 Sam James
2021-09-06 21:26 Sam James
2021-08-04 21:57 Marek Szuba
2021-07-25  3:23 Sam James
2021-07-23 14:08 Andrew Ammerlaan
2021-03-02  9:00 Michał Górny
2021-03-02  7:38 Sam James
2021-01-28  8:35 Michał Górny
2021-01-28  8:35 Michał Górny
2021-01-18 18:48 Michał Górny
2021-01-18 16:53 Sam James
2020-12-17  0:18 Matt Turner
2020-12-17  0:18 Matt Turner
2020-12-06  9:53 Joonas Niilola
2020-12-06  9:14 Michał Górny
2020-12-05  9:58 Michał Górny
2020-11-05  1:39 Matt Turner
2020-10-17 16:41 Joonas Niilola
2020-10-17 16:41 Joonas Niilola
2020-09-21 16:06 Michał Górny
2020-09-15  8:09 Joonas Niilola

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=1693544776.9dedf30623dab509e30b38d08134bc418ab940d9.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