mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
37 lines
979 B
Bash
37 lines
979 B
Bash
# Maintainer: Grey Christoforo <first name at last name dot net>
|
|
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
|
|
|
pkgname=python-plotly
|
|
pkgver=5.2.1
|
|
pkgrel=1
|
|
pkgdesc="An open-source, interactive graphing library"
|
|
url="https://github.com/plotly/plotly.py"
|
|
depends=(python
|
|
jupyterlab
|
|
python-matplotlib
|
|
python-numpy
|
|
python-six
|
|
python-retrying)
|
|
optdepends=('ipython' 'python-ipywidgets')
|
|
makedepends=(python-setuptools
|
|
python-jupyter_core
|
|
python-tornado
|
|
jupyterlab
|
|
npm)
|
|
license=('MIT')
|
|
arch=('x86_64')
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('5c3251dcbf5de2170038dac24ba6afd379b497d93f18576247ffffe439808da5')
|
|
|
|
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"
|
|
}
|