# 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="Utility functions used throughout the various nlesc-nano repositories."

HOMEPAGE="https://github.com/nlesc-nano/Nano-Utils"
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="doc lint test test-no-optional"
DEPENDENCIES=">=dev-python/packaging-1.16.8[${PYTHON_USEDEP}]
	doc? ( <dev-python/sphinx-7.0[${PYTHON_USEDEP}] )
	doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
	lint? ( dev-python/flake8[${PYTHON_USEDEP}] )
	lint? ( dev-python/pydocstyle[${PYTHON_USEDEP}] )
	lint? ( dev-python/Flake8-pyproject[${PYTHON_USEDEP}] )
	lint? ( dev-python/mypy[${PYTHON_USEDEP}] )
	lint? ( dev-python/types-PyYAML[${PYTHON_USEDEP}] )
	lint? ( >=dev-python/numpy-1.21[${PYTHON_USEDEP}] )
	lint? ( dev-python/ipython[${PYTHON_USEDEP}] )
	test? ( dev-python/Nano-Utils[${PYTHON_USEDEP}] )
	test? ( >=dev-python/schema-0.7.1[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] )
	test? ( dev-python/h5py[${PYTHON_USEDEP}] )
	test? ( dev-python/numpy[${PYTHON_USEDEP}] )
	test? ( >=dev-python/ipython-5.0.0[${PYTHON_USEDEP}] )
	test-no-optional? ( dev-python/AssertionLib[${PYTHON_USEDEP}] )
	test-no-optional? ( >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] )
	test-no-optional? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"