1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=python-phitigra
4 _pyname=${pkgname#python-}
7 pkgdesc='A graph editor for SageMath/Jupyter'
8 url='https://github.com/jfraymond/phitigra'
11 source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
12 depends=(sagemath python-ipycanvas)
13 makedepends=(python-build python-installer python-wheel)
14 sha256sums=('36cdc745316b876a4f675212b9a994439d2d9a1b3b12c4e8cce4a149304a9ba0')
18 python -m build --wheel --no-isolation
23 python -m installer --destdir="$pkgdir" dist/*.whl
24 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname