Date: Wednesday, April 5, 2023 @ 19:27:34
  Author: felixonmars
Revision: 1437963

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 1437962, python-jupyter-client/trunk/PKGBUILD)

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

Copied: python-jupyter-client/repos/community-staging-any/PKGBUILD (from rev 
1437962, python-jupyter-client/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 19:27:34 UTC (rev 1437963)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+_pyname=jupyter_client
+pkgname=python-${_pyname/_/-}
+pkgver=8.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)
+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=('3fbab64100a0dcac7701b1e0f1a4412f1ccb45546ff2ad9bc4fcbe4e19804811')
+
+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 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to