# Maintainer: Grey Christoforo pkgname=python-plotly pkgver=4.8.1 pkgrel=1 pkgdesc="An open-source, interactive graphing library" url="https://github.com/plotly/plotly.py" depends=('python' 'python-matplotlib' 'python-numpy' 'python-six' 'python-retrying') optdepends=('ipython' 'python-ipywidgets') makedepends=('python-setuptools') license=('MIT') arch=('any') source=("https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz") sha512sums=('55fefb9a2e93b7789139006f9256a2b08f22a8210cdb5df9333dca884c60bcb6f250493776a4cf750a23cffaa6e4731c6eda6f7c27992b666aeedc93ad93c054') build() { cd plotly.py-${pkgver}/packages/python/plotly python setup.py build } package() { cd plotly.py-${pkgver}/packages/python/plotly python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }