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