dev-python/anyio: add 4.0.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 15:34:16 +01:00 committed by Andreas Billmeier
parent bb3d3e2a37
commit f233c2c0fd
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 138 additions and 4 deletions

View File

@ -554,6 +554,7 @@
|opengarage|opengarage cover platform lets you control the open-source OpenGarage.io device|N|Y|Y|0.44|
|openhome| connect an Openhome Compliant Renderer to Home Assistant|N|N|Y|0.39|
|opensensemap|query the open data API of openSenseMap.org air quality sensor station|N|Y|Y|0.85|
|opensky|allows one to track overhead flights in a given region|N|N|Y|0.43|
|opentherm_gw|control the OpenTherm Gateway from Home Assistant|N|N|Y|0.81|
|openuv|The openuv integration displays UV and Ozone data from openuv.io|N|N|Y||
|openweathermap|uses OpenWeatherMap as a source for current meteorological data|N|Y|Y|0.32|

View File

@ -122,7 +122,7 @@ The Ebuild we have since `0.97.0`, as soon as I know that at least one user is a
### `app-misc/homeassistant-full`
WARNING: This one currently breaks (caused by shell limitations) emerge with an 'Argument list too long' error. It compiles with a [kernel hack](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/190#issuecomment-1002). Thanks to @gcampagnoli.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **940** USE Flags.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **941** USE Flags.
A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md)
@ -612,12 +612,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1752 Ebuilds in total, 1741 of them have in total 1762 (43 different) licenses assigned.
There are 1755 Ebuilds in total, 1744 of them have in total 1765 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1025|
|Apache-2.0|366|
|MIT|1026|
|Apache-2.0|368|
|GPL-3|106|
|BSD|97|
|GPL-2|24|

View File

@ -1,5 +1,8 @@
DIST anyio-3.6.2.tar.gz 140378 BLAKE2B 0b027c5278415a2eb54f6cce2c948d1e4975c2465331da86f18859ff2e23019edb06d6afd110dbf61ced0b061d57535fed163f88dd6276f64b8e75e965b4983b SHA512 e6e852e682374e7b9cf5e15765fae7f55175504897e044eafc66998411020ccd304d327a640a986fcaab0e7e7aa7566cf1db48ac2408622d0576f4c84b3861e9
DIST anyio-3.7.0.tar.gz 142737 BLAKE2B f27b6c854f8861c760a922542471b5d7714cd54da0fa999a6efc8e394b49e538e7689147834a4076e1970932416fabe820923c2155048d943eee697454771c8f SHA512 0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b
DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a SHA512 b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
EBUILD anyio-3.6.2.ebuild 1190 BLAKE2B dfb8d8943acd7a3132cfcff2ec28749c902159239576e59a37543657e8a36f496f05a4fcaba72d9b28ec30d2df75cd6a7d86899fdfc6e5b0ed1631a31f93de1a SHA512 68b95f68fe744bf385af9f66b4ed3abcd9b5b0344316bacb57eb4df71b4743fa7b941a89c140a91987bca842be3781c787a4a8c0f5043bfabbfab75177d5035a
EBUILD anyio-3.7.0.ebuild 1920 BLAKE2B 3f854d5a5d05c4fc9692408944a9b025f9d2c7a7bb2b4612cc55d6ae1e3f402e60fd4be8b9a6e12e3538e23d552ea1c02bf1a80f53264197dc958643e7edc1ae SHA512 c7c1e58eadfba486368d4e79960a9c38f5e73bb9ebe2f5f2e83b7382530abaa84694989343a155cacfc6b9d8b686119212a267fc3cad91cf73a5a1c8110dcd20
EBUILD anyio-4.0.0.ebuild 1920 BLAKE2B 3f854d5a5d05c4fc9692408944a9b025f9d2c7a7bb2b4612cc55d6ae1e3f402e60fd4be8b9a6e12e3538e23d552ea1c02bf1a80f53264197dc958643e7edc1ae SHA512 c7c1e58eadfba486368d4e79960a9c38f5e73bb9ebe2f5f2e83b7382530abaa84694989343a155cacfc6b9d8b686119212a267fc3cad91cf73a5a1c8110dcd20
MISC anyio-4.0.0.ebuild.1 1630 BLAKE2B 72988c3293f75a6878769a358e04a28ff28892f9276fc575ad4d219e82e4ff42e237fb6515643adf651ab77b330deaf8470821f5853b9b1d0f1d280cc8675248 SHA512 1eb52b17d2a4da1adc1f3c699906490191ac444740016a4101faa05c90b2eef8ad997c9ec248e70b3ded3e4d137e2c020617f89d901d97659b6ba0b0d7431548
MISC metadata.xml 513 BLAKE2B 1a128df54ff66d09506afbc9ad33b9f02166b027c5d5dc60e89abb9cd2809fdde85311090f2df1e2ce2f46ae376ae077b402e3a0e861b0453449cbc4907178ec SHA512 1a26bde236ca868281411456c983ae293dc1dd14d533696f74fb29048247ac918e21d4f74b05ff86a35ab3fdbbaf4d3ba99bf4aa5600f84a1610fa219a177011

View File

@ -0,0 +1,70 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
HOMEPAGE="
https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
dev-python/exceptiongroup[${PYTHON_USEDEP}]
' 3.{9..10})
>=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="
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
' python3_{10..11})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme \
dev-python/sphinx-autodoc-typehints
python_test() {
local EPYTEST_DESELECT=(
# requires link-local IPv6 interface
tests/test_sockets.py::TestTCPListener::test_bind_link_local
# trio-0.22?
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
'tests/test_taskgroups.py::test_exception_group_children[trio]'
'tests/test_taskgroups.py::test_exception_group_host[trio]'
'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
)
if [[ ${EPYTHON} == python3.12 ]]; then
EPYTEST_DESELECT+=(
tests/test_fileio.py::TestPath::test_properties
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'
}

View File

@ -0,0 +1,60 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations"
HOMEPAGE="
https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}]
' 3.10)
>=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="
>=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
>=dev-python/trio-0.22[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
' python3_{10..12})
)
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx-rtd-theme-1.2.2' \
dev-python/sphinxcontrib-jquery \
dev-python/sphinx-autodoc-typehints
python_test() {
local EPYTEST_DESELECT=(
# requires link-local IPv6 interface
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'
}