# Maintainer: Grey Christoforo pkgname=python-plotly pkgver=4.10.0 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=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz") sha512sums=('83dcfdb52f54ad45de6600329691215b753298d5015db1c11d7bd3da8b2da528a961a2db542cce7f3d5b71fc54603450b69cecb14aadde55dcf01a066b254d98') 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" }