add async-timeout-4.0.2-r1 (from main)

This commit is contained in:
Andreas Billmeier 2023-09-25 18:34:49 +02:00 committed by Andreas Billmeier
parent 4a3a8b35a3
commit 7a29a9381e
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST async-timeout-4.0.2.tar.gz 8221 BLAKE2B ebcb2ef956590e265bbdecc223a877e7260750aecf5b631c6af1f335ce57b51579467901e2344bfa8495010eb1e6e7a39adfd4b6311483d63e0674221888d1f7 SHA512 e9884a525b99bc1a3a15c958a1dbb25a92cb286bb7360b03b0be3198e61685970628c8fef6dc478beba3f031e0ff6f03b1fcc3c2c34032d7fea6f8b65850ac38
EBUILD async-timeout-4.0.2-r1.ebuild 845 BLAKE2B 3c151e45c9cb5cb27e5b2a09ff7d05065ebdeb4b47828214ea0c26e1e2a61ed6c3b5a515e6875689f35afb09b39c4aa9207d33fbf17c4d77ce045a9125c10174 SHA512 924d2637057a62629681fd094eaab9984038d8f659f3f6d6a051a0d6f1ac452fce1b4875403ad838f987e0a119acab4fd6eb4764e81c67265f01b8cc2b7a738c
MISC metadata.xml 561 BLAKE2B 2b09cf4a655e7bc2ee1645dbde7fffad60e230d3b363332f66f6b4ab7100997a47c5787ac5e9af578d67c99337dc3995c46355903caa7c566c0f4b565752ce36 SHA512 31bd88aed2064fb68a7577f159e20da2702c80e3344ec9468de8660efedc36b981525b02c6cdb4d0cc396bd8078ff59f1e4f3f8aa751e51d8526a45f8292acf5

View File

@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} 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 ~ia64 ~loong 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_prepare_all() {
# remove pointless dep on pytest-cov
sed -i -e '/addopts/d' setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
epytest -p no:aiohttp
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">async-timeout</remote-id>
<remote-id type="github">aio-libs/async-timeout</remote-id>
<maintainer status="unknown">
<email>andrew.svetlov@gmail.com</email>
<name>Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</name>
</maintainer>
</upstream>
</pkgmetadata>