1 # Maintainer: Antonio Rojas <arojas@archlinux.com>
4 pkgname=python-${_pyname//_/-}
7 pkgdesc='Document structures for collaborative editing using Ypy'
9 url='https://jupyter.org/'
11 depends=(python-ypy-websocket)
12 makedepends=(python-build python-installer python-hatchling python-hatch-nodejs-version)
13 checkdepends=(python-pytest-asyncio python-websockets)
14 source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz)
15 sha256sums=('0f95bede3f1e081e07d5c57c03c658e3a5247e0ef18889074fbefa20dd3eca53')
19 python -m build --wheel --no-isolation
24 # python -m venv --system-site-packages test-env
25 # test-env/bin/python -m installer dist/*.whl
26 # test-env/bin/python -m pytest -v
31 python -m installer --destdir="$pkgdir" dist/*.whl
32 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname