EAPI=8

PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Solve automatic numerical differentiation problems in one or more variables. "
HOMEPAGE="
	https://github.com/pbord/numdifftools
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/numpy-1.24[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.10[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
#BDEPEND="
#	test? (
#		>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
#		>=dev-python/statsmodels-0.6[${PYTHON_USEDEP}]
#		dev-python/pytest-cov[${PYTHON_USEDEP}]
#		dev-python/line-profiler[${PYTHON_USEDEP}]
#		dev-python/hypothesis[${PYTHON_USEDEP}]
#		dev-python/matplotlib[${PYTHON_USEDEP}]
#	)
#"

# fail for some reason...
#distutils_enable_tests pytest