1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
7 pkgdesc="A py.test plugin to validate Jupyter notebooks"
8 url="https://github.com/computationalmodelling/nbval"
11 depends=('python-pytest' 'python-jupyter_client' 'jupyter-nbformat' 'python-ipykernel'
13 makedepends=('python-setuptools' 'python-nbdime')
14 checkdepends=('python-doit' 'python-matplotlib' 'python-pytest-cov' 'python-pytest-mock' 'python-sympy')
16 'python-nbdime: for --nbdime option'
18 source=("https://github.com/computationalmodelling/nbval/archive/$pkgver/$pkgname-$pkgver.tar.gz")
19 sha512sums=('65da8cbb2196b0fab591017e3ec83a6ae908db863bf53a989eb48d5037d99587d23abb3729eda38556f3c11c0a769eea60fa77f02c05836178519aac6e923e87')
28 python setup.py egg_info
30 PYTHONPATH="$PWD" doit test
35 python setup.py install --root="$pkgdir" --optimize=1
37 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/