dev-python/async-timeout: Bump to 5.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-10-31 15:55:34 +01:00
parent b0cbda9320
commit 8a2d1ba854
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST async-timeout-4.0.3.tar.gz 8345 BLAKE2B cd603b5b58f85412220a99b7b5001ac08df18239f8fca0bf20648f1af982a5dd51b7d84ccce1d168530ee1c1afcef048e03b3de68ba8db068782f79da28bfddd SHA512 d7628370c47587a64170e067a5341bba17658da10900fb8ddf4426aa3f4facc55d63b28febb4b65abe12a9ff5be759319f49fc723c82a5a6cc27377c5e33a5a0
DIST async_timeout-5.0.0.tar.gz 8951 BLAKE2B 6af85e8892eeeff5fb6fe0c000fb2a053bbcd8a3d5221b0fe90fbced50cfa257c09d229182b9f55c78f60a542e7570fe174b8c8248444dea36983483a5df5813 SHA512 542ed0d38e8e46140e4b7cd345c5dbd30112bd12f4e7de4c38784bcb7ba810bf10e9d6a9c16dadb2ce919954084164ec299f7b59eddc676cf29c46299e3259bd

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Timeout context manager for asyncio programs"
HOMEPAGE="
https://github.com/aio-libs/async-timeout/
https://pypi.org/project/async-timeout/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts= -p asyncio
}