Files
guru/dev-python/httpx-aiohttp/httpx-aiohttp-0.2.0.ebuild
T
2026-09-03 19:29:27 +02:00

41 lines
837 B
Bash

# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/karpetrosyan/httpx-aiohttp
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Aiohttp transport for HTTPX"
HOMEPAGE="
https://github.com/karpetrosyan/httpx-aiohttp
https://pypi.org/project/httpx-aiohttp/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
ROPERTIES="test_network"
RESTRICT="test"
RDEPEND="
>=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}]
>=dev-python/httpx2-2[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
>=dev-python/trio-0.27.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( anyio pytest-asyncio )
EPYTEST_IGNORE=(
scripts/httpx_test.py
)
distutils_enable_tests pytest