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