# Maintainer: AlphaJack # Contributor: Anselmo L. S. Melo pkgname="python-plotly-git" pkgver=5.1.0.r6.g17b7c27f9 pkgrel=2 pkgdesc="An open-source, interactive graphing library" arch=("any") url="https://plot.ly/python/" license=("MIT") makedepends=("git" "npm" "python-jupyter_core" "jupyterlab" "python-setuptools" "python-build" "python-wheel" "python-installer" "python-tornado>=6.1.0") provides=("python-plotly") conflicts=("python-plotly") depends=("python>=3.6" "python-matplotlib" "python-numpy" "python-tenacity") optdepends=("ipython" "python-ipywidgets") source=("git+https://github.com/plotly/plotly.py.git") sha256sums=("SKIP") options=("!strip") pkgver(){ cd "plotly.py" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build(){ cd "plotly.py/packages/python/plotly" python -m build --wheel --no-isolation } package(){ cd "plotly.py/packages/python/plotly" python -m installer --destdir="$pkgdir" dist/*.whl }