Install this version:
emerge -a =dev-python/httpx-oauth-0.17.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/httpx-oauth-0.17.0
Or alternatively:
emerge --autounmask-write -a =dev-python/httpx-oauth-0.17.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.17.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..14} )
inherit distutils-r1
DESCRIPTION="Async OAuth client using HTTPX"
HOMEPAGE="https://github.com/frankie567/httpx-oauth"
SRC_URI="https://github.com/frankie567/httpx-oauth/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT-0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/httpx-0.18[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/fastapi[${PYTHON_USEDEP}]
dev-python/respx[${PYTHON_USEDEP}]
)
"
DOCS=( README.md )
distutils_enable_tests pytest
python_prepare_all() {
# No need for regex-commit plugin
sed -e '/^source.*regex_commit/d' -i pyproject.toml || die
# Disable coverage
sed -e '/^addopts/d' -i pyproject.toml || die
distutils-r1_python_prepare_all
}
>=dev-python/httpx-0.18[]
test? ( dev-python/pytest-asyncio[] dev-python/pytest-mock[] dev-python/fastapi[] dev-python/respx[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | httpx-oauth-0.17.0.gh.tar.gz | 126463 bytes | https://github.com/frankie567/httpx-oauth/archive/v0.17.0.tar.gz |