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

EAPI=8

REALNAME="gd.py"
LITERALNAME="gd.py"
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="An API wrapper for Geometry Dash written in Python."

HOMEPAGE="https://github.com/nekitdev/gd.py"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/fa/34/c2050a8517973670b080e7fee10880c01d670c81cc4e3be16c0d817a2118/gd_py-${REALVERSION}.tar.gz"
SOURCEFILE="gd_py-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="crypto image server speed"
DEPENDENCIES=">=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
	>=dev-python/click-8.1.3[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}]
	>=dev-python/yarl-1.9.2[${PYTHON_USEDEP}]
	>=dev-python/attrs-23.1.0[${PYTHON_USEDEP}]
	~dev-python/cattrs-22.2.0[${PYTHON_USEDEP}]
	dev-python/pendulum[${PYTHON_USEDEP}]
	dev-python/entrypoint[${PYTHON_USEDEP}]
	dev-python/versions[${PYTHON_USEDEP}]
	dev-python/named[${PYTHON_USEDEP}]
	dev-python/xor-cipher[${PYTHON_USEDEP}]
	dev-python/colors-core[${PYTHON_USEDEP}]
	dev-python/async-extensions[${PYTHON_USEDEP}]
	dev-python/iters[${PYTHON_USEDEP}]
	speed? ( >=dev-python/lxml-4.9.2[${PYTHON_USEDEP}] )
	image? ( >=dev-python/pillow-9.5.0[${PYTHON_USEDEP}] )
	crypto? ( >=dev-python/pycryptodome-3.18.0[${PYTHON_USEDEP}] )
	server? ( dev-python/fastapi[${PYTHON_USEDEP}] )
	server? ( >=dev-python/uvicorn-0.22.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"