From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C908158086 for ; Mon, 1 Nov 2021 22:16:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E030E0921; Mon, 1 Nov 2021 22:16:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 164E7E0921 for ; Mon, 1 Nov 2021 22:16:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 35668342EB0 for ; Mon, 1 Nov 2021 22:16:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 967411A8 for ; Mon, 1 Nov 2021 22:16:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1635805000.a8f4f4c9c0ce5d25bfb931717d88f5fd71f4ad28.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/async_timeout/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/async_timeout/Manifest dev-python/async_timeout/async_timeout-4.0.0.ebuild X-VCS-Directories: dev-python/async_timeout/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a8f4f4c9c0ce5d25bfb931717d88f5fd71f4ad28 X-VCS-Branch: master Date: Mon, 1 Nov 2021 22:16:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d48234ee-884f-4326-bf00-c1eb82a55c6b X-Archives-Hash: 7f46bc69837ba0df0a155740b437fb19 commit: a8f4f4c9c0ce5d25bfb931717d88f5fd71f4ad28 Author: Michał Górny gentoo org> AuthorDate: Mon Nov 1 21:51:31 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 1 22:16:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f4f4c9 dev-python/async_timeout: Bump to 4.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/async_timeout/Manifest | 1 + .../async_timeout/async_timeout-4.0.0.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/async_timeout/Manifest b/dev-python/async_timeout/Manifest index 8679d7982d2..2a4ec1b8f08 100644 --- a/dev-python/async_timeout/Manifest +++ b/dev-python/async_timeout/Manifest @@ -1,2 +1,3 @@ DIST async-timeout-3.0.1.tar.gz 9724 BLAKE2B f18ae75969b7048469fe22949f25ea25da3fdbf08b98a16b5d5ffe823060a75e6de9ed764727e08d4344c79426e9c89013d49522f20ed62e6fbe912b5c7a8787 SHA512 fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986 +DIST async-timeout-4.0.0.tar.gz 8258 BLAKE2B 7a3edee9491aba11e59ef6bf7c07b9e3f00e97bf42e69adac92a23d89715e2c90dbf9e431c146c20e44b05ed47905cfd5afa41fd04df63315d9f347a6b8f70f1 SHA512 92716106b42ad3746c9873649b44d414da08f75cd507a0dc45d764270bcbd6f483c149e5cebe1a4c36f5cd02397c21b67b92a0475117d9dea17c580e422cf4da DIST async-timeout-4.0.0a3.tar.gz 11386 BLAKE2B 8918878c4edd64c70d831ddd05e3235c3c7cc116a99755205b7624df52cacfb61bf4e80083c85d93e420fbf18e7da16ee3ebc796c5a4890e2801885b670a494a SHA512 04775ea30ffba90a4b604ef040df24a6a2711fd3e2c3b45d1ab87ae3487f216458f44bbfb2c85498bef286acca90af43d8b3b95cf22244027c0a48494ef84e7a diff --git a/dev-python/async_timeout/async_timeout-4.0.0.ebuild b/dev-python/async_timeout/async_timeout-4.0.0.ebuild new file mode 100644 index 00000000000..2f3850143bc --- /dev/null +++ b/dev-python/async_timeout/async_timeout-4.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +MY_P=${PN/_/-}-${PV} +DESCRIPTION="Timeout context manager for asyncio programs" +HOMEPAGE="https://github.com/aio-libs/async-timeout" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + 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 +}