Date: Monday, April 10, 2023 @ 18:24:10
Author: arojas
Revision: 1444569
archrelease: copy trunk to community-staging-any
Added:
jupyter-notebook-shim/repos/community-staging-any/PKGBUILD
(from rev 1444568, jupyter-notebook-shim/trunk/PKGBUILD)
Deleted:
jupyter-notebook-shim/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 18:23:19 UTC (rev 1444568)
+++ PKGBUILD 2023-04-10 18:24:10 UTC (rev 1444569)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-
-_pyname=notebook_shim
-pkgname=jupyter-notebook-shim
-pkgver=0.2.2
-pkgrel=2
-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=('090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f')
-
-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
- mv "$pkgdir"/{usr/,}etc
-}
Copied: jupyter-notebook-shim/repos/community-staging-any/PKGBUILD (from rev
1444568, jupyter-notebook-shim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 18:24:10 UTC (rev 1444569)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pyname=notebook_shim
+pkgname=jupyter-notebook-shim
+pkgver=0.2.2
+pkgrel=3
+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 python-pytest-jupyter)
+source=(https://pypi.python.org/packages/source/n/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f')
+
+build() {
+ cd $_pyname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pyname-$pkgver/$_pyname
+ pytest -v
+}
+
+package() {
+ cd $_pyname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ mv "$pkgdir"/{usr/,}etc
+}