From 9bbe284ae94ade4830e331e959cc2af87d8a397a Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 10 Jun 2021 10:28:05 +0200 Subject: [PATCH] dev-python/anyio: move to ::gentoo Signed-off-by: Andrew Ammerlaan --- dev-python/anyio/Manifest | 2 - dev-python/anyio/anyio-2.2.0.ebuild | 61 ----------------------------- dev-python/anyio/anyio-3.0.1.ebuild | 61 ----------------------------- dev-python/anyio/metadata.xml | 33 ---------------- 4 files changed, 157 deletions(-) delete mode 100644 dev-python/anyio/Manifest delete mode 100644 dev-python/anyio/anyio-2.2.0.ebuild delete mode 100644 dev-python/anyio/anyio-3.0.1.ebuild delete mode 100644 dev-python/anyio/metadata.xml diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest deleted file mode 100644 index dee63a5785..0000000000 --- a/dev-python/anyio/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de SHA512 bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab -DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec SHA512 e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1 diff --git a/dev-python/anyio/anyio-2.2.0.ebuild b/dev-python/anyio/anyio-2.2.0.ebuild deleted file mode 100644 index f74abd4081..0000000000 --- a/dev-python/anyio/anyio-2.2.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -# Build with USE="-doc" first because of circular dependency -# otherwise one gets the error that sphinx-autodoc-typehints - -DOCS_BUILDER="sphinx" -DOCS_DIR="docs" -DOCS_AUTODOC=1 - -inherit distutils-r1 docs - -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" -HOMEPAGE=" - https://github.com/agronholm/anyio - https://pypi.org/project/anyio -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/curio-1.4[${PYTHON_USEDEP}] - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] - >=dev-python/trio-0.16[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7) -" - -BDEPEND=" - ${RDEPEND} - doc? ( - dev-python/anyio[${PYTHON_USEDEP}] - >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv \ - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \ - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \ - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \ - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \ - || die -} diff --git a/dev-python/anyio/anyio-3.0.1.ebuild b/dev-python/anyio/anyio-3.0.1.ebuild deleted file mode 100644 index f74abd4081..0000000000 --- a/dev-python/anyio/anyio-3.0.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -# Build with USE="-doc" first because of circular dependency -# otherwise one gets the error that sphinx-autodoc-typehints - -DOCS_BUILDER="sphinx" -DOCS_DIR="docs" -DOCS_AUTODOC=1 - -inherit distutils-r1 docs - -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" -HOMEPAGE=" - https://github.com/agronholm/anyio - https://pypi.org/project/anyio -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/curio-1.4[${PYTHON_USEDEP}] - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] - >=dev-python/trio-0.16[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7) -" - -BDEPEND=" - ${RDEPEND} - doc? ( - dev-python/anyio[${PYTHON_USEDEP}] - >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv \ - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio] \ - --deselect tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \ - --deselect tests/test_sockets.py::test_getaddrinfo[curio] \ - --deselect tests/test_sockets.py::test_getaddrinfo[trio] \ - || die -} diff --git a/dev-python/anyio/metadata.xml b/dev-python/anyio/metadata.xml deleted file mode 100644 index 1dcac0ae81..0000000000 --- a/dev-python/anyio/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - lssndrbarbieri@gmail.com - Alessandro Barbieri - - -AnyIO is a asynchronous compatibility API that allows applications and libraries written against it to run unmodified on asyncio, curio and trio. - -It bridges the following functionality: - -Task groups -Cancellation -Threads -Signal handling -Asynchronous file I/O -Subprocesses -Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams) -High level networking (TCP, UDP and UNIX sockets) -You can even use it together with native libraries from your selected backend in applications. Doing this in libraries is not advisable however since it limits the usefulness of your library. - -AnyIO comes with its own pytest plugin which also supports asynchronous fixtures. It even works with the popular Hypothesis library. - - - agronholm/anyio - anyio - - alex.gronholm@nextday.fi - Alex Grönholm - - -