mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/anyioutils: Bump to 0.7.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
2cd04f8473
commit
cc626606e4
@ -1 +1,2 @@
|
||||
DIST anyioutils-0.7.3.tar.gz 15022 BLAKE2B 73070e1ee78d323783bc506b8bd723e7969999063e926130aade7b5b491f192acfd5f3140195bfe7b1e4669c9e3872682a274676983f7256660c86603f16ba91 SHA512 ba8a11453d002b1a23a553e118a23c5047d16d53b200ed2d2493f62e8b9c24e32c39aef864e6b719c1db45b00e9ee758eb974ec9bfd27a3e53a33572bcdc262b
|
||||
DIST anyioutils-0.7.4.tar.gz 15697 BLAKE2B 69701e7ccd91d5083b7f9ae39827ffee85a4cf7a7031cfcb85649c93021e52ff2a2712ba2eb37df02df74a4780aaa4490e7f842c305dd53a07c01142d1396422 SHA512 e513a31fbcfc38d6b532414abba4854a5ad9cd7667e9e26c8e208b5de02635f7cc0aab8ec304f885db4cf1ae0b44f9f3dc65f8b80c0465a4dd537afa17ec11da
|
||||
|
||||
53
dev-python/anyioutils/anyioutils-0.7.4.ebuild
Normal file
53
dev-python/anyioutils/anyioutils-0.7.4.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Utility classes and functions for AnyIO"
|
||||
HOMEPAGE="
|
||||
https://github.com/davidbrochart/anyioutils/
|
||||
https://pypi.org/project/anyioutils/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/anyio-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/anyio-4.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/outcome-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/outcome-1.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
test-rust? (
|
||||
dev-python/trio[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# requires aioguest
|
||||
tests/test_guest.py::test_host_trivial_guest_asyncio
|
||||
)
|
||||
local EPYTEST_IGNORE=()
|
||||
|
||||
local args=()
|
||||
if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=( tests/test_guest.py )
|
||||
args+=( -k "not trio" )
|
||||
fi
|
||||
|
||||
epytest "${args[@]}"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user