[arch-commits] Commit in jupyter-nbclient/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Apr 3 09:15:22 UTC 2022


    Date: Sunday, April 3, 2022 @ 09:15:22
  Author: arojas
Revision: 1180950

archrelease: copy trunk to community-any

Added:
  jupyter-nbclient/repos/community-any/PKGBUILD
    (from rev 1180949, jupyter-nbclient/trunk/PKGBUILD)
Deleted:
  jupyter-nbclient/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   56 +++++++++++++++++++++++++++++++-------------------------
 1 file changed, 31 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-03 09:15:10 UTC (rev 1180949)
+++ PKGBUILD	2022-04-03 09:15:22 UTC (rev 1180950)
@@ -1,25 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbclient
-pkgver=0.5.13
-pkgrel=1
-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')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
-source=("https://github.com/jupyter/nbclient/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-md5sums=('0c4a51ac28e8e9357f9fce3cef6cdc12')
-
-build() {
-  cd nbclient-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-package() {
-  cd "$srcdir/nbclient-$pkgver"
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: jupyter-nbclient/repos/community-any/PKGBUILD (from rev 1180949, jupyter-nbclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-03 09:15:22 UTC (rev 1180950)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbclient
+pkgver=0.5.13
+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')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'jupyter-nbconvert')
+checkdepends=('python-pytest-asyncio' 'python-xmltodict')
+source=("https://github.com/jupyter/nbclient/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('3caa3a63a2f6d7e9f4ffd61eb924a3ba353224719525677eabee8c97ae3341a1')
+
+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"
+}



More information about the arch-commits mailing list