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-mock/
Date: Fri, 22 Mar 2024 04:38:54 +0000 (UTC)	[thread overview]
Message-ID: <1711082326.7f6ef086aff51dc619f27aa08aa132d428030b55.mgorny@gentoo> (raw)

commit:     7f6ef086aff51dc619f27aa08aa132d428030b55
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 04:16:25 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 04:38:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6ef086

dev-python/pytest-mock: Bump to 3.14.0

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

 dev-python/pytest-mock/Manifest                  |  1 +
 dev-python/pytest-mock/pytest-mock-3.14.0.ebuild | 54 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 4c553742bff7..ae7dceabba56 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.12.0.tar.gz 32139 BLAKE2B 4bc2289579686b8ca9e840440b21b7299817e803f108726692cda6f1a138564462b04b9ae6a3038a5e36ec4d665bb7c8f54c26d231d6b17188b8d830d553b20d SHA512 6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82
+DIST pytest-mock-3.14.0.tar.gz 32814 BLAKE2B f6e10dd6781bf10076c7c42f9cfc8cd4e4cfd3aa08030c9ad6377ee64b3386ddd190eac8bd1a912d54b5ef4aba14dfe136b3968b6ed08683dd4c4f102eaf8a26 SHA512 c60059fe8fb64540f33382e52b9015dd9771483e2074d35c02cd5852a50eed02a64e202b7e81e920bbbd0621bd23fa9bb0467d2ceef7abd582df3e27eafeaa20

diff --git a/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild
new file mode 100644
index 000000000000..e3315fd88f37
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+	https://github.com/pytest-dev/pytest-mock/
+	https://pypi.org/project/pytest-mock/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+	>=dev-python/pytest-6.2.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/setuptools-scm[${PYTHON_USEDEP}]
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		' "${PYTHON_TESTED[@]}")
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+		einfo "Skipping tests on ${EPYTHON}"
+		return
+	fi
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+	local EPYTEST_DESELECT=()
+
+	if has_version dev-python/mock; then
+		EPYTEST_DESELECT+=(
+			tests/test_pytest_mock.py::test_standalone_mock
+		)
+	fi
+
+	epytest --assert=plain
+}


             reply	other threads:[~2024-03-22  4:39 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22  4:38 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-14 12:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/ Michał Górny
2024-05-08 18:31 Michał Górny
2023-11-22 11:04 Michał Górny
2023-11-22 11:04 Michał Górny
2023-10-20  4:42 Michał Górny
2023-07-10  1:47 Michał Górny
2023-06-16  3:34 Michał Górny
2023-05-24  8:35 Michał Górny
2023-05-23 15:42 Michał Górny
2023-03-17 15:23 Michał Górny
2022-12-25 16:22 Michał Górny
2022-11-03 19:42 Arthur Zamarin
2022-11-03 19:36 Arthur Zamarin
2022-09-28 18:34 Michał Górny
2022-07-29 12:49 Michał Górny
2022-07-29 11:45 Arthur Zamarin
2022-07-05 19:28 Arthur Zamarin
2022-06-25  5:11 Michał Górny
2022-05-10 20:38 Michał Górny
2022-04-25 17:16 Sam James
2022-03-16  8:00 Michał Górny
2022-01-30 19:15 Zac Medico
2022-01-28 23:01 Michał Górny
2022-01-28 23:01 Michał Górny
2022-01-28 18:38 Arthur Zamarin
2021-09-23  8:15 James Le Cuirot
2021-09-22  7:18 Arthur Zamarin
2021-06-05 21:20 Michał Górny
2021-06-05 20:35 Sam James
2021-05-25  1:29 Joshua Kinard
2021-05-07  8:04 Michał Górny
2021-05-06 11:38 Michał Górny
2021-04-25  7:56 Michał Górny
2021-03-02  8:53 Michał Górny
2021-03-02  4:37 Sam James
2021-01-18 18:48 Michał Górny
2021-01-18 16:53 Sam James
2021-01-11  9:21 Michał Górny
2021-01-05  9:17 Michał Górny
2020-12-16 10:09 Michał Górny
2020-11-28  8:32 Sam James
2020-09-21 16:06 Michał Górny
2020-09-20 14:36 Michał Górny
2020-09-19 21:33 Michał Górny
2020-09-19 20:53 Sam James
2020-09-19  7:21 Michał Górny
2020-09-19  1:01 Sam James
2020-09-18 15:43 Michał Górny
2020-08-27  7:00 Michał Górny
2020-08-22  6:16 Michał Górny
2020-08-21 19:15 Sergei Trofimovich
2020-08-21 19:00 Sergei Trofimovich
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-07-12 20:19 Michał Górny
2020-07-11 19:55 Sergei Trofimovich
2020-07-11  8:06 Michał Górny
2020-07-11  7:51 Michał Górny
2020-07-06 19:15 Michał Górny
2020-06-29 13:40 Agostino Sarubbo
2020-06-06 18:01 Michał Górny
2020-06-05 16:10 Sergei Trofimovich
2020-06-05  5:54 Michał Górny
2020-06-03  6:59 Sergei Trofimovich
2020-06-02 22:21 Mart Raudsepp
2020-05-31  7:45 Michał Górny
2020-05-26  9:26 Michał Górny
2020-05-04 11:44 Michał Górny
2020-04-26 19:02 Matt Turner
2020-04-19  6:51 Michał Górny
2020-04-18 13:51 Michał Górny
2020-04-18 13:51 Michał Górny
2020-04-08 20:53 Sergei Trofimovich
2020-03-28 18:49 Michał Górny
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:12 Agostino Sarubbo
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 22:17 Sergei Trofimovich
2019-12-30 21:54 Piotr Karbowski
2019-12-30 12:59 Michał Górny
2019-12-02 21:13 Aaron Bauman
2019-12-02 19:27 Aaron Bauman
2019-10-26 20:33 Zac Medico
2019-05-15 22:56 Sergei Trofimovich
2019-02-17 17:34 Sergei Trofimovich
2019-01-03 15:02 Sergei Trofimovich
2018-12-29 13:16 Sergei Trofimovich
2018-12-27 17:19 Matt Turner
2018-11-18 11:40 Mikle Kolyada
2018-11-18  9:38 Mikle Kolyada
2018-10-17 12:11 Tobias Klausmann
2018-08-18 22:21 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-07-21 20:52 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2017-10-30 20:15 Zac Medico
2017-10-29 22:13 Zac Medico
2017-10-19 12:29 Manuel Rüger
2017-09-30  0:00 Matt Thode
2017-06-23  5:58 Alexis Ballier
2017-04-15 19:42 Manuel Rüger
2017-02-13  9:00 Zac Medico
2017-01-01 21:21 Zac Medico
2016-12-31 15:23 Zac Medico
2016-09-19  2:24 Zac Medico

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=1711082326.7f6ef086aff51dc619f27aa08aa132d428030b55.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