# 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="A g-function calculator for Python"

HOMEPAGE="https://github.com/MassimoCimmino/pygfunction"
LICENSE="BSD 3-Clause 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 plot testing"
DEPENDENCIES=">=dev-python/numpy-1.26.4[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.13.1[${PYTHON_USEDEP}]
	dev-python/SecondaryCoolantProps[${PYTHON_USEDEP}]
	>=dev-python/typing-extensions-4.11.0[${PYTHON_USEDEP}]
	doc? ( >=dev-python/numpydoc-1.7.0[${PYTHON_USEDEP}] )
	doc? ( >=dev-python/recommonmark-0.7.1[${PYTHON_USEDEP}] )
	doc? ( >=dev-python/sphinx-7.3.7[${PYTHON_USEDEP}] )
	plot? ( >=dev-python/matplotlib-3.9.2[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/matplotlib-3.9.2[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/pytest-7.4.4[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/pytest-cov-6.1.1[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/tox-4.25.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"