Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-timeout/
Date: Tue, 18 Jan 2022 22:44:43
Message-Id: 1642545863.b3fb3c1fb4072ea127b173b7ca00c10ce9517002.mgorny@gentoo
1 commit: b3fb3c1fb4072ea127b173b7ca00c10ce9517002
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 21:50:17 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 22:44:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3fb3c1f
7
8 dev-python/pytest-timeout: Bump to 2.1.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-timeout/Manifest | 1 +
13 .../pytest-timeout/pytest-timeout-2.1.0.ebuild | 28 ++++++++++++++++++++++
14 2 files changed, 29 insertions(+)
15
16 diff --git a/dev-python/pytest-timeout/Manifest b/dev-python/pytest-timeout/Manifest
17 index 0ef949925e15..e52c707ea5ef 100644
18 --- a/dev-python/pytest-timeout/Manifest
19 +++ b/dev-python/pytest-timeout/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-timeout-2.0.2.tar.gz 16683 BLAKE2B bc6ee17832dfa5c3e5a35efc34bda630f1f1f7e7ece5a71d68110ab12c08566ee89c3b0f68967807967d17e2622ca1d2bce24baf51986ad8921fd55df091b376 SHA512 ee151a55f6323ae23ddd7e54e39e1c014de2aa2a142a0e3ba81c80b5d36435fc6c2809e383df8c49e62df70361a03dbe73e4d96d03798323fe7f1304a197f770
22 +DIST pytest-timeout-2.1.0.tar.gz 18386 BLAKE2B 1c84b67e8d07056f9c5b188e467832d4aa292ce1047da6cb13b2939962d2599853db134b16ff3a1a953cbdc1c1772be961eadc9925b32f8dbe514938ede90d40 SHA512 5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3
23
24 diff --git a/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild b/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild
25 new file mode 100644
26 index 000000000000..08318635d20c
27 --- /dev/null
28 +++ b/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild
29 @@ -0,0 +1,28 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="pytest plugin to abort hanging tests"
40 +HOMEPAGE="https://pypi.org/project/pytest-timeout/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +SLOT="0"
44 +LICENSE="MIT"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
46 +
47 +# do not rdepend on pytest, it won't be used without it anyway
48 +# pytest-cov used to test compatibility
49 +BDEPEND="
50 + test? (
51 + dev-python/pexpect[${PYTHON_USEDEP}]
52 + !hppa? (
53 + dev-python/pytest-cov[${PYTHON_USEDEP}]
54 + )
55 + )"
56 +
57 +distutils_enable_tests pytest