| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.6.21 | 8 | ~amd64 | 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_{12,13} )
inherit distutils-r1
MY_PN="${PN}-for-python"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="AutoRest swagger generator Python client runtime"
HOMEPAGE="https://github.com/Azure/msrest-for-python"
SRC_URI="https://github.com/Azure/msrest-for-python/archive/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
PROPERTIES="test_network"
DEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/isodate[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/httpretty[${PYTHON_USEDEP}] )"
EPYTEST_PLUGINS=( pytest-{asyncio,trio} )
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# AttributeError: module 'trio' has no attribute 'run_sync_in_worker_thread'
tests/asynctests/test_pipeline.py::test_conf_async_trio_requests
tests/asynctests/test_universal_http.py::test_conf_async_trio_requests
# AttributeError: 'TestAuthentication' object has no attribute 'assertDictContainsSubset'
tests/test_auth.py::TestAuthentication::test_apikey_auth
tests/test_auth.py::TestAuthentication::test_cs_auth
tests/test_auth.py::TestAuthentication::test_eventgrid_auth
tests/test_auth.py::TestAuthentication::test_eventgrid_domain_auth
)
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/isodate[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/isodate[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
test? ( dev-python/httpretty[${PYTHON_USEDEP}] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | msrest-for-python-0.6.21.gh.tar.gz | 104069 bytes | https://github.com/Azure/msrest-for-python/archive/v0.6.21.tar.gz |