1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Add 'python-plotly/' from commit '24c9bd23ff15c08a662fa4e539ad5d58d2febf4a'

git-subtree-dir: python-plotly
git-subtree-mainline: 16042726cf
git-subtree-split: 24c9bd23ff
This commit is contained in:
2021-08-14 13:38:53 +02:00
3 changed files with 63 additions and 0 deletions

35
python-plotly/PKGBUILD Normal file
View File

@@ -0,0 +1,35 @@
# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=python-plotly
pkgver=5.1.0
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=('ed17ece01fc462c5e257567241fda1d202e3cac8c27fa44185bd680bb1457f02')
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"
}