Date: Monday, January 30, 2023 @ 21:28:45 Author: arojas Revision: 1391315
Standarize package name Added: python-jupyter-client/ python-jupyter-client/trunk/ python-jupyter-client/trunk/PKGBUILD ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Added: python-jupyter-client/trunk/PKGBUILD =================================================================== --- python-jupyter-client/trunk/PKGBUILD (rev 0) +++ python-jupyter-client/trunk/PKGBUILD 2023-01-30 21:28:45 UTC (rev 1391315) @@ -0,0 +1,35 @@ +# Maintainer: Antonio Rojas <[email protected]> +# Contributor: Kyle Keen <[email protected]> + +_pyname=jupyter_client +pkgname=python-${_pyname/_/-} +pkgver=8.0.2 +pkgrel=1 +pkgdesc='Jupyter protocol implementation and client libraries' +arch=(any) +url='https://pypi.python.org/pypi/jupyter_client' +license=(BSD) +depends=(python-ipykernel python-traitlets python-pyzmq python-jupyter_core python-dateutil python-entrypoints) +makedepends=(python-build python-installer python-hatchling) +checkdepends=(python-pytest-jupyter python-pytest-timeout iproute2 net-tools openssh) +conflicts=(python-jupyter_client) +provides=(python-jupyter_client) +replaces=(python-jupyter_client) +source=(https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-$pkgver.tar.gz) +sha256sums=('47ac9f586dbcff4d79387ec264faf0fdeb5f14845fa7345fd7d1e378f8096011') + +build() { + cd $_pyname-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd $_pyname-$pkgver + pytest -v +} + +package() { + cd $_pyname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
