commit:     fa499a4429b4e5b008320e490292863ccaa05787
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 14 07:00:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 08:08:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa499a44

dev-python/pytest-asyncio: Bump to 0.17.0

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

 dev-python/pytest-asyncio/Manifest                 |  1 +
 .../pytest-asyncio/pytest-asyncio-0.17.0.ebuild    | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pytest-asyncio/Manifest 
b/dev-python/pytest-asyncio/Manifest
index 66bea71a5cb0..5b7c50d0ddc2 100644
--- a/dev-python/pytest-asyncio/Manifest
+++ b/dev-python/pytest-asyncio/Manifest
@@ -1 +1,2 @@
 DIST pytest-asyncio-0.16.0.tar.gz 15819 BLAKE2B 
c999b8680a45704bcb6f4690a910aa3d2edd9965e53cf4eb59dc8119696add4553d6b3e1b010c3cac52c8fd8563be8c86afe0616132a274e73df673630b032a7
 SHA512 
f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22
+DIST pytest-asyncio-0.17.0.tar.gz 22275 BLAKE2B 
0151b7e264b2c2435735bdc184020b6997d20b0ed82224b0b528ec366ab7554a0282619c5268d92f2544d700bed2dbaf85adaaf1752e333c417cc044bffb6aac
 SHA512 
cfff79cf0632153819c511d3751777858e87081b074bfb49f3fe49417d1be647b4d07a4b64149acec36b4e6b1872ac03f1055703c70cccce18648482c9b727db

diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild 
b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild
new file mode 100644
index 000000000000..eba2bcf7d5c3
--- /dev/null
+++ b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for testing asyncio code with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio
+       https://pypi.org/project/pytest-asyncio/";
+SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+       >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/flaky[${PYTHON_USEDEP}]
+               >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests --install pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+EPYTEST_DESELECT=(
+       # rely on precise warning counts
+       tests/modes/test_legacy_mode.py
+)

Reply via email to