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-timeout/
Date: Fri,  8 Mar 2024 05:40:41 +0000 (UTC)	[thread overview]
Message-ID: <1709876434.137edc08ac873a5ec966e228794c1cf026b49b13.mgorny@gentoo> (raw)

commit:     137edc08ac873a5ec966e228794c1cf026b49b13
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 05:12:03 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 05:40:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137edc08

dev-python/pytest-timeout: Bump to 2.3.1

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

 dev-python/pytest-timeout/Manifest                 |  1 +
 .../pytest-timeout/pytest-timeout-2.3.1.ebuild     | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pytest-timeout/Manifest b/dev-python/pytest-timeout/Manifest
index 74b4d5a96c03..339ebf919692 100644
--- a/dev-python/pytest-timeout/Manifest
+++ b/dev-python/pytest-timeout/Manifest
@@ -1 +1,2 @@
 DIST pytest-timeout-2.2.0.tar.gz 16391 BLAKE2B 550b803ed4a64ab0fead7f6e61297ea6bfc6e59988998c5383fdccdebb3664fe9f6651314bb1a439f6431e844bb770feb50bedcabd568e4dfea7526d8c328dd7 SHA512 11a0c4e958b324bff3e149bf2a7dc5bf6ab6549405d5061856f8f1ad0e43df1cddce83df4c804b717276bfbcfcf60ee6b400625d0f4e4e73c98785146c22164f
+DIST pytest-timeout-2.3.1.tar.gz 17697 BLAKE2B 5f0ffa2fdda59ef28a92bfd5742891f63c1fa400db4ef89077fa13d917932d83e76d543c4c326a27df582a025122d8a75f1f7adf0daebbecc42273d4323ff93a SHA512 f200d625d11f76173521f4e2e4e09d57f6613d9b1420c57893b454ec496d5f11b32390b95eb995b403d15f8563b742a58fa0e0cbad42246b4049787a389ad83e

diff --git a/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild
new file mode 100644
index 000000000000..ea860f7df388
--- /dev/null
+++ b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild
@@ -0,0 +1,49 @@
+# 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_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="pytest plugin to abort hanging tests"
+HOMEPAGE="
+	https://github.com/pytest-dev/pytest-timeout/
+	https://pypi.org/project/pytest-timeout/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+# do not rdepend on pytest, it won't be used without it anyway
+# pytest-cov used to test compatibility
+BDEPEND="
+	test? (
+		dev-python/pexpect[${PYTHON_USEDEP}]
+		!hppa? (
+			dev-python/pytest-cov[${PYTHON_USEDEP}]
+		)
+	)
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x PYTEST_PLUGINS=pytest_timeout
+
+	if has_version dev-python/pytest-cov; then
+		PYTEST_PLUGINS+=,pytest_cov.plugin
+	else
+		EPYTEST_DESELECT+=(
+			test_pytest_timeout.py::test_cov
+		)
+	fi
+
+	epytest
+}


             reply	other threads:[~2024-03-08  5:40 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08  5:40 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 16:48 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-timeout/ Michał Górny
2024-03-23 10:45 Michał Górny
2024-03-23 10:41 Michał Górny
2023-11-11 20:36 Michał Górny
2023-11-11 19:21 Sam James
2023-10-10  7:13 Michał Górny
2023-10-10  7:13 Michał Górny
2023-10-08 17:48 Michał Górny
2023-05-23 18:36 Arthur Zamarin
2023-03-17 15:23 Michał Górny
2022-05-09 20:38 Michał Górny
2022-02-27 18:46 Michał Górny
2022-01-18 22:44 Michał Górny
2022-01-13 21:53 Michał Górny
2022-01-13 19:29 Arthur Zamarin
2021-12-14 10:21 Michał Górny
2021-11-13  9:26 Arthur Zamarin
2021-10-11  7:56 Michał Górny
2021-09-21 21:37 James Le Cuirot
2021-05-24  2:39 Joshua Kinard
2021-05-19 18:32 Michał Górny
2020-11-18  8:47 Michał Górny
2020-10-22 21:06 Michał Górny
2020-10-22  7:18 Sam James
2020-09-21 16:06 Michał Górny
2020-09-20 14:30 Michał Górny
2020-08-01 21:48 Michał Górny
2020-07-17  5:56 Michał Górny
2020-07-11  8:06 Michał Górny
2020-07-11  7:51 Michał Górny
2020-07-09  8:59 Agostino Sarubbo
2020-07-08  8:26 Michał Górny
2020-06-16  8:18 Michał Górny
2020-06-15  7:23 Michał Górny
2020-06-11 21:48 Sergei Trofimovich
2020-05-28 18:20 Sergei Trofimovich
2020-05-26 10:35 Michał Górny
2020-05-06 16:43 Mikle Kolyada
2020-05-05 22:13 Sergei Trofimovich
2020-04-29 11:03 Michał Górny
2020-04-18 14:25 Michał Górny
2020-04-08 14:01 Agostino Sarubbo
2020-04-07  7:03 Georgy Yakovlev
2020-03-28 18:49 Michał Górny
2020-03-16  5:54 Matt Turner
2020-03-14 16:33 Michał Górny
2020-03-08 10:46 Agostino Sarubbo
2020-03-08 10:37 Agostino Sarubbo
2020-03-08 10:25 Agostino Sarubbo
2020-02-06 21:11 Sergei Trofimovich
2019-12-04 19:44 Sergei Trofimovich
2019-12-02 21:13 Aaron Bauman
2019-04-28  8:15 Maxim Koltsov
2017-12-05  4:53 Tim Harder
2017-05-03  7:37 Michał Górny
2017-03-22 19:48 Markus Meier
2017-02-13  9:03 Zac Medico
2017-01-21 18:54 Agostino Sarubbo
2017-01-21 17:27 Agostino Sarubbo
2016-11-30 14:45 Lars Wendler
2016-06-29 18:49 Patrick Lauer
2015-10-15  9:21 Justin Lecher

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=1709876434.137edc08ac873a5ec966e228794c1cf026b49b13.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