Date: Monday, October 17, 2022 @ 19:17:16
  Author: arojas
Revision: 1329680

archrelease: copy trunk to community-any

Added:
  jupyter-notebook-shim/repos/community-any/PKGBUILD
    (from rev 1329679, jupyter-notebook-shim/trunk/PKGBUILD)
Deleted:
  jupyter-notebook-shim/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-17 19:17:07 UTC (rev 1329679)
+++ PKGBUILD    2022-10-17 19:17:16 UTC (rev 1329680)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-
-_pyname=notebook_shim
-pkgname=jupyter-notebook-shim
-pkgver=0.1.0
-pkgrel=1
-pkgdesc='Provides a way for JupyterLab and other frontends to switch to 
Jupyter Server for their Python Web application backend'
-arch=(any)
-url='https://github.com/jupyterlab/notebook_shim'
-license=(BSD)
-depends=(jupyter-server)
-makedepends=(python-build python-installer)
-checkdepends=(python-pytest-tornasync)
-source=(https://pypi.python.org/packages/source/n/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('7897e47a36d92248925a2143e3596f19c60597708f7bef50d81fcd31d7263e85')
-
-build() {
-  cd $_pyname-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $_pyname-$pkgver/$_pyname
-  pytest
-}
-
-package() {
-  cd $_pyname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  mv "$pkgdir"/{usr/,}etc
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: jupyter-notebook-shim/repos/community-any/PKGBUILD (from rev 1329679, 
jupyter-notebook-shim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-17 19:17:16 UTC (rev 1329680)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pyname=notebook_shim
+pkgname=jupyter-notebook-shim
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Provides a way for JupyterLab and other frontends to switch to 
Jupyter Server for their Python Web application backend'
+arch=(any)
+url='https://github.com/jupyterlab/notebook_shim'
+license=(BSD)
+depends=(jupyter-server)
+makedepends=(python-build python-installer python-hatchling)
+checkdepends=(python-pytest-tornasync)
+source=(https://pypi.python.org/packages/source/n/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('fdb81febb05932c6d19e44e10382ce05469cac5e1b6e99b49be6159ddb5e4804')
+
+build() {
+  cd $_pyname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pyname-$pkgver/$_pyname
+  pytest
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to