Date: Thursday, April 6, 2023 @ 12:05:45
Author: felixonmars
Revision: 1438624
archrelease: copy trunk to community-staging-any
Added:
jupyter-nbclient/repos/community-staging-any/
jupyter-nbclient/repos/community-staging-any/PKGBUILD
(from rev 1438623, jupyter-nbclient/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: jupyter-nbclient/repos/community-staging-any/PKGBUILD (from rev
1438623, jupyter-nbclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 12:05:45 UTC (rev 1438624)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <[email protected]>
+
+pkgname=jupyter-nbclient
+pkgver=0.7.2
+pkgrel=2
+pkgdesc="A tool for running Jupyter Notebooks in different execution contexts."
+arch=('any')
+url="https://github.com/jupyter/nbclient"
+license=('BSD')
+depends=('python-nest-asyncio' 'python-traitlets' 'python-async_generator'
'python-jupyter_client' 'jupyter-nbformat' 'python-testpath')
+makedepends=('python-build' 'python-installer' 'python-hatchling')
+checkdepends=('python-pytest-asyncio' 'python-xmltodict' 'jupyter-nbconvert'
'python-ipywidgets')
+source=("https://github.com/jupyter/nbclient/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('06d2d73ab1b8e929f52a20e65986f4c36bd410d964681c8a36a72ddf0e3c7661')
+
+build() {
+ cd nbclient-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd nbclient-$pkgver
+ pytest -v
+}
+
+package() {
+ cd nbclient-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}