1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00
Files
aur/python-plotly/PKGBUILD
Bert Peters 6e680d436f upgpkg: python-plotly 5.10.0-2
Upstream checksum changed, new ref: 473c263e5e133e5693863baa668751b85900dc11
2022-08-25 09:56:04 +02:00

42 lines
1.1 KiB
Bash

# Maintainer: Grey Christoforo <first name at last name dot net>
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=python-plotly
pkgver=5.10.0
pkgrel=2
pkgdesc="An open-source, interactive graphing library"
url="https://github.com/plotly/plotly.py"
depends=(python
python-tenacity)
# optdepends based on optional_requirements.txt
optdepends=(
'ipython'
'jupyterlab'
'python-ipywidgets'
'python-numpy'
'python-matplotlib'
'python-pillow'
'python-scipy')
makedepends=(python-setuptools
python-jupyter_core
python-tornado
jupyterlab
npm)
license=('MIT')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
options=(!strip) # strip isn't useful for python files and takes forever
sha256sums=('30034c742edff0c268d2d09d748bf1daef3a23957fa6dceb6bd847fd80416448')
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"
}