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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54753158011 for ; Wed, 31 Aug 2022 13:07:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69D67E082B; Wed, 31 Aug 2022 13:07:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 50451E082B for ; Wed, 31 Aug 2022 13:07:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3D6D033BE23 for ; Wed, 31 Aug 2022 13:07:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 650A45A3 for ; Wed, 31 Aug 2022 13:07:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1661951214.1244989d9b3f6e6b3ecf17dce7df4404bc56faf1.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio-asyncio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/trio-asyncio/Manifest dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild X-VCS-Directories: dev-python/trio-asyncio/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 1244989d9b3f6e6b3ecf17dce7df4404bc56faf1 X-VCS-Branch: master Date: Wed, 31 Aug 2022 13:07:41 +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: ed100bde-67c7-4afa-9795-e4a15b6b3ef2 X-Archives-Hash: 36580e090d52367356c0d342d0099207 commit: 1244989d9b3f6e6b3ecf17dce7df4404bc56faf1 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Aug 31 13:05:42 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Aug 31 13:06:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1244989d dev-python/trio-asyncio: update EAPI 7 -> 8, pep517 Closes: https://bugs.gentoo.org/834955 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/trio-asyncio/Manifest | 1 + .../trio-asyncio/trio-asyncio-0.12.0-r1.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest index a4fd4634294e..6b789ea8d080 100644 --- a/dev-python/trio-asyncio/Manifest +++ b/dev-python/trio-asyncio/Manifest @@ -1 +1,2 @@ +DIST trio-asyncio-0.12.0.gh.tar.gz 72508 BLAKE2B f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04 SHA512 da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04 SHA512 da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild new file mode 100644 index 000000000000..0130aa355548 --- /dev/null +++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-asyncio + https://pypi.org/project/trio-asyncio/ +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + >=dev-python/trio-0.15.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-trio-0.6[${PYTHON_USEDEP}] + ) +" +PATCHES=( "${FILESDIR}/no-pytest-runner.patch" ) + +EPYTEST_DESELECT=( + # RuntimeError: You're within a Trio environment. + # https://bugs.gentoo.org/834955 + /Python-3.10/test_asyncio/test_locks.py::ConditionTests::test_ambiguo + /Python-3.11/test_asyncio/test_locks.py::ConditionTests::test_ambiguo +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio dev-python/sphinx_rtd_theme