1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-27 05:20:32 +01:00
Files
aur/PKGBUILD
Grey Christoforo 1128653be8 bump version
2020-11-01 21:03:33 +01:00

27 lines
944 B
Bash

# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=python-plotly
pkgver=4.12.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=('403da230da682df93bf9b4aea562a90b743c9ccff492861d0735251f5cdf3f9a21920d652c748a389fbee4861404dd2900c57a2e9c09b4553a23e502e817b380')
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"
}