# 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="Enma is a Python library designed to fetch manga and doujinshi data from many sources."

HOMEPAGE="https://github.com/AlexandreSenpai/Enma"
LICENSE="LICENSE"
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="google-drive"
DEPENDENCIES="~dev-python/requests-2.32.3[${PYTHON_USEDEP}]
	~dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}]
	~dev-python/pydantic-2.8.2[${PYTHON_USEDEP}]
	dev-python/expiringdict[${PYTHON_USEDEP}]
	google-drive? ( >=dev-python/google-api-python-client-2.0.0[${PYTHON_USEDEP}] )
	google-drive? ( >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] )
	google-drive? ( >=dev-python/google-auth-oauthlib-0.4.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"