EAPI=8

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

DESCRIPTION="Probabilistic reasoning and statistical analysis in TensorFlow"
HOMEPAGE="https://github.com/tensorflow/probability"
SRC_URI="https://github.com/tensorflow/probability/archive/refs/tags/v${PV}.zip -> ${P}.zip"

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

RDEPEND="
	dev-python/absl-py[${PYTHON_USEDEP}]
	>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
	dev-python/decorator[${PYTHON_USEDEP}]
	>=dev-python/cloudpickle-1.3[${PYTHON_USEDEP}]
	>=dev-python/gast-0.3.2[${PYTHON_USEDEP}]
	dev-python/dm-tree[${PYTHON_USEDEP}]
"
BDEPEND="
	app-arch/unzip
	${RDEPEND}
"