Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-asyncio/
Date: Sat, 26 Mar 2022 16:19:05
Message-Id: 1648311532.597b9234e530981f70d0f339e14868ded9d7ff9d.arthurzam@gentoo
1 commit: 597b9234e530981f70d0f339e14868ded9d7ff9d
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 15:57:04 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 16:18:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597b9234
7
8 dev-python/pytest-asyncio: add 0.18.3
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pytest-asyncio/Manifest | 1 +
13 .../pytest-asyncio/pytest-asyncio-0.18.3.ebuild | 36 ++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest
17 index 97b892cc0c03..139520e90b0c 100644
18 --- a/dev-python/pytest-asyncio/Manifest
19 +++ b/dev-python/pytest-asyncio/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pytest-asyncio-0.17.2.tar.gz 23805 BLAKE2B 0501a193518cefb0596b1595a58e8f18915b61ba2b502726b457e78c10b5849e5fc1980192d4b5aceb7499af15556c185efc42b76153e2b8f72ab4e36249ad23 SHA512 f1f6a586a7a3a1672ed76e8758a76e8bd427b0da055461597ab3b6296e3ae50002a9a259aba57f0b6191d606db6fa61377dbf03099d3437272a4a1f4144aa58e
22 DIST pytest-asyncio-0.18.2.tar.gz 24515 BLAKE2B d583abe16c215f12a3cc93588d40b9b75188b3a19eb3b4a018551f7fe616e92c73e12c0be6e6a3eadd7357b2396f397013829e1827bf0fc0cb4b96cdd1e64ff4 SHA512 377d219e731ac97a69e143c2de2e327f7293baf4af4bf370cb84dde4f94f705e315bf6deaea4b7d8c1d6cbc54ed753e15ccc0b21a0cef6c3397a560aae684f9e
23 +DIST pytest-asyncio-0.18.3.tar.gz 25049 BLAKE2B 5439675fd03b7fdd4cd3dbf1f37daa83d6b18b199ccc7b54acc648187dffcf59154f8f0ec5d4144ed40554290343a0890952e67d4184b17b0a3817196592023e SHA512 04d2046c039131598cb593afc1908be0dff2b24a91c89f36fca75d2d65916571e48fe149c1ba90244f299586277320cf6f130a02824fde9ee0a4d2429bf58a54
24
25 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild
26 new file mode 100644
27 index 000000000000..160168fbf8b3
28 --- /dev/null
29 +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 2019-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Library for testing asyncio code with pytest"
41 +HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio
42 + https://pypi.org/project/pytest-asyncio/"
43 +SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
48 +
49 +RDEPEND="
50 + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]"
51 +BDEPEND="
52 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/flaky[${PYTHON_USEDEP}]
55 + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
56 + )"
57 +
58 +distutils_enable_tests pytest
59 +
60 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
61 +
62 +EPYTEST_DESELECT=(
63 + # rely on precise warning counts
64 + tests/modes/test_legacy_mode.py
65 + tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures
66 +)