mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 05:20:32 +01:00
27 lines
944 B
Bash
27 lines
944 B
Bash
# Maintainer: Grey Christoforo <first name at last name dot net>
|
|
|
|
pkgname=python-plotly
|
|
pkgver=4.13.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=('f98660bd14617c49aa175dbd62dacc40e89ce37c96f41db97b84db3882f691cb2f9f91975ca5b6d61c2d7c77557ab46cbfa8f927ceff965e24b9ddd7b23502df')
|
|
|
|
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"
|
|
}
|