Install this version:
emerge -a =dev-python/niquests-3.18.7
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/niquests-3.18.7
Or alternatively:
emerge --autounmask-write -a =dev-python/niquests-3.18.7
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.18.7 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Simple, yet elegant, HTTP library. Drop-in replacement for Requests."
HOMEPAGE="
https://github.com/jawah/niquests
https://pypi.org/project/niquests/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/charset-normalizer-2[${PYTHON_USEDEP}]
<dev-python/charset-normalizer-4[${PYTHON_USEDEP}]
>=dev-python/kiss-headers-2.5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-future-2.13.903[${PYTHON_USEDEP}]
<dev-python/urllib3-future-3[${PYTHON_USEDEP}]
>=dev-python/wassima-1.0.1[${PYTHON_USEDEP}]
<dev-python/wassima-3[${PYTHON_USEDEP}]"
src_prepare() {
rm -r src/niquests/_vendor/kiss_headers || die
find src/niquests -name '*.py' -exec \
sed -i 's/from \._vendor\.kiss_headers/from kiss_headers/' {} + || die
find src/niquests -name '*.py' -exec \
sed -i 's/from \.\._vendor\.kiss_headers/from kiss_headers/' {} + || die
distutils-r1_src_prepare
}
>=dev-python/charset-normalizer-2[] <dev-python/charset-normalizer-4[] >=dev-python/kiss-headers-2.5.0[] >=dev-python/urllib3-future-2.13.903[] <dev-python/urllib3-future-3[] >=dev-python/wassima-1.0.1[] <dev-python/wassima-3[]