Date: Monday, January 30, 2023 @ 21:29:04
  Author: arojas
Revision: 1391316

archrelease: copy trunk to community-any

Added:
  python-jupyter-client/repos/
  python-jupyter-client/repos/community-any/
  python-jupyter-client/repos/community-any/PKGBUILD
    (from rev 1391315, python-jupyter-client/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-jupyter-client/repos/community-any/PKGBUILD (from rev 1391315, 
python-jupyter-client/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD                                (rev 0)
+++ repos/community-any/PKGBUILD        2023-01-30 21:29:04 UTC (rev 1391316)
@@ -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
+}

Reply via email to