diff --git a/python-plotly/.SRCINFO b/python-plotly/.SRCINFO new file mode 100644 index 0000000..f64fc16 --- /dev/null +++ b/python-plotly/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = python-plotly + pkgdesc = An open-source, interactive graphing library + pkgver = 5.1.0 + pkgrel = 1 + url = https://github.com/plotly/plotly.py + arch = x86_64 + license = MIT + makedepends = python-setuptools + makedepends = python-jupyter_core + makedepends = python-tornado + makedepends = jupyterlab + makedepends = npm + depends = python + depends = jupyterlab + depends = python-matplotlib + depends = python-numpy + depends = python-six + depends = python-retrying + optdepends = ipython + optdepends = python-ipywidgets + source = python-plotly-5.1.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.1.0.tar.gz + sha256sums = ed17ece01fc462c5e257567241fda1d202e3cac8c27fa44185bd680bb1457f02 + +pkgname = python-plotly diff --git a/python-plotly/.gitignore b/python-plotly/.gitignore new file mode 100644 index 0000000..32f0ae1 --- /dev/null +++ b/python-plotly/.gitignore @@ -0,0 +1,4 @@ +src/ +pkg/ +*.tar.gz +*.tar.xz diff --git a/python-plotly/PKGBUILD b/python-plotly/PKGBUILD new file mode 100644 index 0000000..7aa2482 --- /dev/null +++ b/python-plotly/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Grey Christoforo + +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" +}