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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 68FA4139336 for ; Sun, 27 Jun 2021 11:23:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64756E08F3; Sun, 27 Jun 2021 11:23:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 390F7E08F3 for ; Sun, 27 Jun 2021 11:23:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06AAF342147 for ; Sun, 27 Jun 2021 11:23:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 867287B9 for ; Sun, 27 Jun 2021 11:23:10 +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: <1624792267.46913cc7e7f4c6574f7c0b3fb7aa5c5a7acdfcbd.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/trio/Manifest dev-python/trio/metadata.xml dev-python/trio/trio-0.19.0.ebuild X-VCS-Directories: dev-python/trio/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 46913cc7e7f4c6574f7c0b3fb7aa5c5a7acdfcbd X-VCS-Branch: master Date: Sun, 27 Jun 2021 11:23:10 +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: 452dc784-48ae-4ac9-a0a2-8ad8634373b9 X-Archives-Hash: a0efe29b954ad6769e528792ed00a022 commit: 46913cc7e7f4c6574f7c0b3fb7aa5c5a7acdfcbd Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jun 27 11:11:07 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 27 11:11:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46913cc7 dev-python/trio: import from ::guru Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/trio/Manifest | 1 + dev-python/trio/metadata.xml | 21 +++++++++++++++ dev-python/trio/trio-0.19.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest new file mode 100644 index 00000000000..3a72c2dee33 --- /dev/null +++ b/dev-python/trio/Manifest @@ -0,0 +1 @@ +DIST trio-0.19.0.tar.gz 486036 BLAKE2B 052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250 SHA512 5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml new file mode 100644 index 00000000000..1bb5fd59d25 --- /dev/null +++ b/dev-python/trio/metadata.xml @@ -0,0 +1,21 @@ + + + + + + andrewammerlaan@gentoo.org + Andrew Ammerlaan + + + +The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. + +Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. + +This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes. + + + python-trio/trio + trio + + diff --git a/dev-python/trio/trio-0.19.0.ebuild b/dev-python/trio/trio-0.19.0.ebuild new file mode 100644 index 00000000000..14417d4fa8a --- /dev/null +++ b/dev-python/trio/trio-0.19.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest +distutils_enable_sphinx docs/source \ + dev-python/immutables \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +}