Alistair Francis 50f64a4899 testing/py3-plotly: fix arch information
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2025-04-14 21:56:37 +00:00

55 lines
1.2 KiB
Plaintext

# Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=py3-plotly
_pyname=plotly.py
pkgver=5.24.1
pkgrel=1
pkgdesc="An interactive, open-source, and browser-based graphing library for Python"
url="https://jupyterlab.readthedocs.io/en/latest/"
# webpack segfaults on riscv64
arch="all !riscv64"
license="MIT"
depends="python3"
makedepends="
npm
nodejs
yarn
py3-pip
py3-gpep517
py3-installer
py3-poetry-core
py3-wheel
py3-setuptools
py3-hatchling
py3-hatch-jupyter-builder
jupyter-server
py3-jupyterlab3
py3-jupyterlab_server
py3-rpds-py
jupyter-nbclassic
py-pandas
"
checkdepends="py3-pytest py3-setuptools py3-pexpect py3-numpy py3-pytest-jupyter"
source="py3-plotly-$pkgver.tar.gz::https://github.com/plotly/plotly.py/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
cd packages/python/plotly
python3 setup.py build
}
check() {
cd packages/python/plotly
pytest plotly/tests/test_core
}
package() {
cd packages/python/plotly
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="
dc1484f5b0630bd4d936ab23231be7a577b887701f1f3c33d8f6501dc65718d871bee7af9f467fe130d2e7dcdded22717562352ce4ec70d25bc368faeb51d0e8 py3-plotly-5.24.1.tar.gz
"