# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-jupyter_core pkgver=4.9.2 pkgrel=0 pkgdesc="Core Jupyter functionality" url="https://github.com/jupyter/jupyter_core" arch="noarch" license="BSD-3-Clause" depends="py3-traitlets" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter_core/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/jupyter_core-$pkgver" build() { python3 setup.py build } check() { pytest \ --deselect jupyter_core/tests/test_command.py::test_not_on_path \ --deselect jupyter_core/tests/test_command.py::test_path_priority \ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env \ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_user_site \ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_no_user_site \ --deselect jupyter_core/tests/test_command.py::test_argv0 cd ./docs } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 3d2e8e747a103637af5544249e0050be9f5555a03f44652851aec8deef6675a667358e378fac3d25285c06275560cabe68695db4d4fec13a2fac6a42ea025e19 py3-jupyter_core-4.9.2.tar.gz "