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 73932158087 for ; Mon, 7 Feb 2022 05:13:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D0722BC007; Mon, 7 Feb 2022 05:13:03 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FEF32BC007 for ; Mon, 7 Feb 2022 05:13:01 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31B14342BD4 for ; Mon, 7 Feb 2022 05:12:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D6BD285 for ; Mon, 7 Feb 2022 05:12:57 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1644210717.02ef24811bd9b2709276593cf32de1488244cee7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/anyio/anyio-3.5.0.ebuild X-VCS-Directories: dev-python/anyio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 02ef24811bd9b2709276593cf32de1488244cee7 X-VCS-Branch: master Date: Mon, 7 Feb 2022 05:12:57 +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: e3a55f8e-9a5a-4585-923a-594239b45149 X-Archives-Hash: f4f3406413eea3484b059f7127d1f5fc commit: 02ef24811bd9b2709276593cf32de1488244cee7 Author: Sam James gentoo org> AuthorDate: Mon Feb 7 05:11:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 7 05:11:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02ef2481 dev-python/anyio: conditionalise uvloop test-dep for amd64 only It's an optional test dependency and uvloop needs specific porting to platforms. Let's only pull it in on amd64 to maximise test coverage there but avoid pain elsewhere. Bug: https://bugs.gentoo.org/831852 Signed-off-by: Sam James gentoo.org> dev-python/anyio/anyio-3.5.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/anyio/anyio-3.5.0.ebuild b/dev-python/anyio/anyio-3.5.0.ebuild index a57dd40c611b..00e0c4511a52 100644 --- a/dev-python/anyio/anyio-3.5.0.ebuild +++ b/dev-python/anyio/anyio-3.5.0.ebuild @@ -21,14 +21,15 @@ RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] " - +# On amd64, let's get more test coverage by dragging in uvloop, but let's +# not bother on other arches where uvloop may not be supported. BDEPEND=" test? ( >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] >=dev-python/pytest-6.2[${PYTHON_USEDEP}] >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] + amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] ) ) "