Date: Monday, April 10, 2023 @ 17:42:32
Author: arojas
Revision: 1444518
archrelease: copy trunk to community-staging-any
Added:
jupyter-server-fileid/repos/community-staging-any/
jupyter-server-fileid/repos/community-staging-any/PKGBUILD
(from rev 1444517, jupyter-server-fileid/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: jupyter-server-fileid/repos/community-staging-any/PKGBUILD (from rev
1444517, jupyter-server-fileid/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-10 17:42:32 UTC (rev 1444518)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pyname=jupyter_server_fileid
+pkgname=jupyter-server-fileid
+pkgver=0.8.0
+pkgrel=2
+pkgdesc='A Jupyter Server extension providing an implementation of the File ID
service'
+arch=(any)
+url='https://jupyter.org/'
+license=(BSD)
+depends=(jupyter-server)
+makedepends=(python-build python-installer python-hatchling)
+checkdepends=(python-pytest-jupyter)
+source=(https://pypi.python.org/packages/source/j/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('1e0816d0857f490fadea11348570f0cba03f70f315c9842225aecfa45882b6af')
+
+build() {
+ cd $_pyname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pyname-$pkgver
+# https://github.com/jupyter-server/jupyter_server_fileid/issues/58
+ pytest -v -k 'not test_get_path_oob_move_nested and not
test_get_path_oob_move_deeply_nested'
+}
+
+package() {
+ cd $_pyname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ mv "$pkgdir"/{usr/,}etc
+}