Date: Monday, November 29, 2021 @ 22:22:01 Author: foutrelis Revision: 1057668
archrelease: copy trunk to community-staging-any Added: python-jupyter_client/repos/community-staging-any/ python-jupyter_client/repos/community-staging-any/PKGBUILD (from rev 1057667, python-jupyter_client/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: python-jupyter_client/repos/community-staging-any/PKGBUILD (from rev 1057667, python-jupyter_client/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-29 22:22:01 UTC (rev 1057668) @@ -0,0 +1,33 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=python-jupyter_client +pkgver=7.1.0 +pkgrel=2 +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' 'python-nest_asyncio') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-async_generator') +#source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz") +source=("https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-$pkgver.tar.gz") +sha256sums=('a5f995a73cffb314ed262713ae6dfce53c6b8216cea9f332071b8ff44a6e1654') + +# dep cycle with python-ipykernel + +build() { + cd "$srcdir" +} + +check() { + cd "$srcdir/jupyter_client-$pkgver" + pytest +} + +package() { + cd "$srcdir/jupyter_client-$pkgver" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 + install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}