# 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 CUFSM (Constrained and Unconstrained Finite Strip Method)"

HOMEPAGE="https://github.com/ClearCalcs/pyCUFSM"
LICENSE="AFL-3.0"
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="jupyter plot"
DEPENDENCIES="jupyter? ( >=dev-python/ipywidgets-8.0.0[${PYTHON_USEDEP}] )
	plot? ( >=dev-python/matplotlib-3.2[${PYTHON_USEDEP}] )
	jupyter? ( >=dev-python/matplotlib-3.2[${PYTHON_USEDEP}] )
	>=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.10.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"