# 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="Translators is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python."

HOMEPAGE="https://github.com/uliontse/translators"
LICENSE="GPL-3"
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="pypi"
DEPENDENCIES=">=dev-python/httpx-0.28.1[${PYTHON_USEDEP}]
	>=dev-python/requests-2.32.3[${PYTHON_USEDEP}]
	dev-python/niquests[${PYTHON_USEDEP}]
	dev-python/exejs[${PYTHON_USEDEP}]
	>=dev-python/lxml-5.4.0[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.67.1[${PYTHON_USEDEP}]
	dev-python/pathos[${PYTHON_USEDEP}]
	dev-python/ai-cloudscraper[${PYTHON_USEDEP}]
	>=dev-python/cryptography-42.0.4[${PYTHON_USEDEP}]
	>=dev-python/brotlicffi-1.2.0.0[${PYTHON_USEDEP}]
	dev-python/Brotli[${PYTHON_USEDEP}]
	pypi? ( >=dev-python/build-1.4.0[${PYTHON_USEDEP}] )
	pypi? ( >=dev-python/twine-6.2.0[${PYTHON_USEDEP}] )
	pypi? ( >=dev-python/setuptools-75.3.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"