# 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="Google Drive API made easy. Maintained fork of PyDrive."

HOMEPAGE="https://github.com/iterative/PyDrive2"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/3f/dc/92b0beba58f09441219bb6720bebdb895317632db4778cfe1d21532d27e5/pydrive2-${REALVERSION}.tar.gz"
SOURCEFILE="pydrive2-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="fsspec tests"
DEPENDENCIES=">=dev-python/google-api-python-client-1.12.5[${PYTHON_USEDEP}]
	dev-python/oauth2client[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-3.0[${PYTHON_USEDEP}]
	<dev-python/cryptography-44.0[${PYTHON_USEDEP}]
	<=dev-python/pyopenssl-24.2.1[${PYTHON_USEDEP}]
	fsspec? ( >=dev-python/fsspec-2021.7.0[${PYTHON_USEDEP}] )
	fsspec? ( >=dev-python/tqdm-4.0.0[${PYTHON_USEDEP}] )
	fsspec? ( >=dev-python/funcy-1.14[${PYTHON_USEDEP}] )
	fsspec? ( >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-4.6.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/timeout-decorator[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/funcy-1.14[${PYTHON_USEDEP}] )
	tests? ( dev-python/flake8[${PYTHON_USEDEP}] )
	tests? ( dev-python/flake8-docstrings[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
	tests? ( dev-python/pyinstaller[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/black-24.10.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"