# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Python HTTP for Humans."

HOMEPAGE="http://python-requests.org"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="security socks"
DEPENDENCIES=">=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
	<dev-python/chardet-3.1.0[${PYTHON_USEDEP}]
	<dev-python/idna-2.6[${PYTHON_USEDEP}]
	<dev-python/urllib3-1.22[${PYTHON_USEDEP}]
	security? ( >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] )
	security? ( >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] )
	security? ( >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] )
	socks? ( >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"