Date: Thursday, April 6, 2023 @ 02:16:46
  Author: felixonmars
Revision: 1438076

archrelease: copy trunk to community-staging-any

Added:
  jupyter-nbformat/repos/community-staging-any/
  jupyter-nbformat/repos/community-staging-any/PKGBUILD
    (from rev 1438075, jupyter-nbformat/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: jupyter-nbformat/repos/community-staging-any/PKGBUILD (from rev 
1438075, jupyter-nbformat/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 02:16:46 UTC (rev 1438076)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=jupyter-nbformat
+pkgver=5.8.0
+pkgrel=2
+pkgdesc='The base implementation of the Jupyter Notebook format and Python 
APIs for working with notebooks'
+arch=(any)
+url='https://pypi.python.org/pypi/nbformat'
+license=(BSD)
+depends=(python-traitlets python-jupyter-core python-jsonschema 
python-fastjsonschema)
+makedepends=(python-build python-installer python-hatch-nodejs-version)
+checkdepends=(python-pytest python-testpath python-pep440)
+source=(https://github.com/jupyter/nbformat/archive/v$pkgver/nbformat-$pkgver.tar.gz)
+sha256sums=('f153c23be35a01e5cdef01f51bc2b310fc2fe53da376e19fa12c10bcbcc64bbc')
+
+build() {
+  cd nbformat-$pkgver
+  python -m build --wheel --no-isolation --skip-dependency-check
+}
+
+check() {
+  cd nbformat-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd nbformat-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to