# 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="Use generic type hints and new union syntax \`|\` with python 3.6+"

HOMEPAGE="https://github.com/PrettyWood/future-typing"
LICENSE="MIT"
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="dev test"
DEPENDENCIES="dev? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	test? ( ~dev-python/black-21.5_beta1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/flake8-3.9.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/isort-5.8.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/mypy-0.812[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-6.2.4[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-cov-2.11.1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"