# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 MY_P=plotly.py-${PV} DESCRIPTION="Browser-based graphing library for Python" HOMEPAGE=" https://plotly.com/python/ https://github.com/plotly/plotly.py/ https://pypi.org/project/plotly/ " SRC_URI=" https://github.com/plotly/plotly.py/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz " S="${WORKDIR}/${MY_P}/packages/python/plotly" # The tests are not included in the PyPI tarball, to use the GitHub tarball # we have to skip npm, which means that the resulting install will # unfortunately lack the jupyterlab extension. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( dev-python/ipykernel[${PYTHON_USEDEP}] dev-python/ipython[${PYTHON_USEDEP}] dev-python/ipywidgets[${PYTHON_USEDEP}] dev-python/jupyter[${PYTHON_USEDEP}] dev-python/jupyterlab[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}]