1 |
commit: fa499a4429b4e5b008320e490292863ccaa05787 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 07:00:54 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 08:08:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa499a44 |
7 |
|
8 |
dev-python/pytest-asyncio: Bump to 0.17.0 |
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.0.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 66bea71a5cb0..5b7c50d0ddc2 100644 |
18 |
--- a/dev-python/pytest-asyncio/Manifest |
19 |
+++ b/dev-python/pytest-asyncio/Manifest |
20 |
@@ -1 +1,2 @@ |
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 |
|
24 |
diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..eba2bcf7d5c3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 2019-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Library for testing asyncio code with pytest" |
40 |
+HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio |
41 |
+ https://pypi.org/project/pytest-asyncio/" |
42 |
+SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]" |
50 |
+BDEPEND=" |
51 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] |
55 |
+ )" |
56 |
+ |
57 |
+distutils_enable_tests --install pytest |
58 |
+ |
59 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
60 |
+ |
61 |
+EPYTEST_DESELECT=( |
62 |
+ # rely on precise warning counts |
63 |
+ tests/modes/test_legacy_mode.py |
64 |
+) |