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-asyncio/
Date: Tue, 18 Jan 2022 09:52:02
Message-Id: 1642499497.23952359a8e64f2ccf3fb2331f58d7281d9f2747.mgorny@gentoo
1 commit: 23952359a8e64f2ccf3fb2331f58d7281d9f2747
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 09:10:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 09:51:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23952359
7
8 dev-python/pytest-asyncio: Bump to 0.17.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-asyncio/Manifest | 1 +
13 .../pytest-asyncio/pytest-asyncio-0.17.2.ebuild | 35 ++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest
17 index 7f85589cae1d..dbbd02a470db 100644
18 --- a/dev-python/pytest-asyncio/Manifest
19 +++ b/dev-python/pytest-asyncio/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pytest-asyncio-0.16.0.tar.gz 15819 BLAKE2B c999b8680a45704bcb6f4690a910aa3d2edd9965e53cf4eb59dc8119696add4553d6b3e1b010c3cac52c8fd8563be8c86afe0616132a274e73df673630b032a7 SHA512 f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22
22 DIST pytest-asyncio-0.17.0.tar.gz 22275 BLAKE2B 0151b7e264b2c2435735bdc184020b6997d20b0ed82224b0b528ec366ab7554a0282619c5268d92f2544d700bed2dbaf85adaaf1752e333c417cc044bffb6aac SHA512 cfff79cf0632153819c511d3751777858e87081b074bfb49f3fe49417d1be647b4d07a4b64149acec36b4e6b1872ac03f1055703c70cccce18648482c9b727db
23 DIST pytest-asyncio-0.17.1.tar.gz 23694 BLAKE2B 30856f9635db84fade650c1ecebe9c713d8cd801acd646e3dffb97996c591e4a11378faba8abe30002a1fa0f6dc62aae53029f059504478d4527e88c404929c2 SHA512 691bedb0d84e05179815d9a5c11108568dc59fc8fe6e8549e54e14b83e5e6bcad37d512980ea27f87f927f623c0496bbddf0aff1f44fc78f9bea1d9106b0800c
24 +DIST pytest-asyncio-0.17.2.tar.gz 23805 BLAKE2B 0501a193518cefb0596b1595a58e8f18915b61ba2b502726b457e78c10b5849e5fc1980192d4b5aceb7499af15556c185efc42b76153e2b8f72ab4e36249ad23 SHA512 f1f6a586a7a3a1672ed76e8758a76e8bd427b0da055461597ab3b6296e3ae50002a9a259aba57f0b6191d606db6fa61377dbf03099d3437272a4a1f4144aa58e
25
26 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild
27 new file mode 100644
28 index 000000000000..5ee78272811e
29 --- /dev/null
30 +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.17.2.ebuild
31 @@ -0,0 +1,35 @@
32 +# Copyright 2019-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Library for testing asyncio code with pytest"
42 +HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio
43 + https://pypi.org/project/pytest-asyncio/"
44 +SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
49 +
50 +RDEPEND="
51 + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]"
52 +BDEPEND="
53 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
54 + test? (
55 + dev-python/flaky[${PYTHON_USEDEP}]
56 + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
57 + )"
58 +
59 +distutils_enable_tests pytest
60 +
61 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
62 +
63 +EPYTEST_DESELECT=(
64 + # rely on precise warning counts
65 + tests/modes/test_legacy_mode.py
66 +)