| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.7.1 | 8 | ~amd64 ~x86 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="AutoRest swagger generator Python client runtime"
HOMEPAGE="https://github.com/Azure/msrest-for-python"
SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="async"
RDEPEND=">=dev-python/requests-oauthlib-0.5.0[${PYTHON_USEDEP}]
>=dev-python/isodate-0.6.0[${PYTHON_USEDEP}]
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/azure-core-1.24.0[${PYTHON_USEDEP}]
async? (
>=dev-python/aiohttp-3.0[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
)
"
BDEPEND="app-arch/unzip
test? (
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/httpretty[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${P}-fix-test-with-new-py.patch" )
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# ImportError
tests/asynctests/test_pipeline.py
tests/asynctests/test_universal_http.py
)
>=dev-python/requests-oauthlib-0.5.0[${PYTHON_USEDEP}]
>=dev-python/isodate-0.6.0[${PYTHON_USEDEP}]
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/azure-core-1.24.0[${PYTHON_USEDEP}]
async? (
>=dev-python/aiohttp-3.0[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
)
app-arch/unzip
test? (
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/httpretty[${PYTHON_USEDEP}]
)