# 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 Wrapper for unofficial Duke Energy REST API"

HOMEPAGE="https://github.com/mjmeli/pyduke-energy"
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="example release test"
DEPENDENCIES="dev-python/aiohttp[${PYTHON_USEDEP}]
	dev-python/python-dateutil[${PYTHON_USEDEP}]
	dev-python/paho-mqtt[${PYTHON_USEDEP}]
	example? ( dev-python/jsonpickle[${PYTHON_USEDEP}] )
	example? ( dev-python/kafka-python[${PYTHON_USEDEP}] )
	release? ( dev-python/build[${PYTHON_USEDEP}] )
	release? ( dev-python/twine[${PYTHON_USEDEP}] )
	test? ( dev-python/tox[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-7.3.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-asyncio-0.21.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-cov-4.1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/black-22.12.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/flake8-5.0.4[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pylint-2.15.9[${PYTHON_USEDEP}] )
	test? ( dev-python/pydocstyle[${PYTHON_USEDEP}] )
	test? ( ~dev-python/isort-5.10.1[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"