Date: Saturday, January 14, 2023 @ 17:32:02 Author: yan12125 Revision: 1383470
upgpkg: python-nbval 0.10.0-1 Modified: python-nbval/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-14 17:06:51 UTC (rev 1383469) +++ PKGBUILD 2023-01-14 17:32:02 UTC (rev 1383470) @@ -2,32 +2,27 @@ # Maintainer: Chih-Hsuan Yen <[email protected]> pkgname=python-nbval -pkgver=0.9.6 -pkgrel=4 +pkgver=0.10.0 +pkgrel=1 pkgdesc="A py.test plugin to validate Jupyter notebooks" url="https://github.com/computationalmodelling/nbval" license=('BSD') arch=('any') -# python-six can be removed from dependencies in the next version -# https://github.com/computationalmodelling/nbval/pull/162 -depends=('python-pytest' 'python-six' 'python-jupyter_client' 'jupyter-nbformat' 'python-ipykernel' +depends=('python-pytest' 'python-jupyter_client' 'jupyter-nbformat' 'python-ipykernel' 'python-coverage') makedepends=('python-setuptools') checkdepends=('python-doit' 'python-matplotlib' 'python-pytest-cov' 'python-sympy') -source=("https://github.com/computationalmodelling/nbval/archive/$pkgver/$pkgname-$pkgver.tar.gz" - "https://github.com/computationalmodelling/nbval/commit/2f4df51d37ed51f6042f6eb4b75f91b5865df48a.patch" - "https://github.com/computationalmodelling/nbval/commit/27a7de805ca5743a6b59c02799659e7e1a909228.patch") -sha512sums=('ce2122ab490b52537696b2a8e97fd3b604c547af93fccf7d83d82b9180d8bb50b57d002f4e16eb605acabab5b31e961fea97bf2d46bf45b9cd1f8b7fca028df2' - 'd315b38d0267a3488e53e46daeff04374fe3c5f9e5c8dc0c165cb8e7d2644fa8ecea2fc4642de0ce7ed0687bcec12317981bac1590cb62ffc06483928579f58e' - '931af121411adc5179bdb659c6d81925d09b8364c99162e7259c0926f07fab41db13f6c29987b303bbdb59513f26695aa871383f392a9774865ecd731f44399f') +source=("https://github.com/computationalmodelling/nbval/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('65da8cbb2196b0fab591017e3ec83a6ae908db863bf53a989eb48d5037d99587d23abb3729eda38556f3c11c0a769eea60fa77f02c05836178519aac6e923e87') prepare() { cd nbval-$pkgver - # Fix test with newer Python https://github.com/computationalmodelling/nbval/pull/178 - patch -Np1 -i ../2f4df51d37ed51f6042f6eb4b75f91b5865df48a.patch - # Fix test with newer matplotlib-inline, which no longer overrides the default figure size - # See: https://github.com/ipython/matplotlib-inline/commit/a433a899280c9cf801ccb5eb99faa1e15fc8a459 - patch -Np1 -i ../27a7de805ca5743a6b59c02799659e7e1a909228.patch + # Skipping nbdime tests as nbdime is not compatible with jupyter-server 2.x in Arch yet + # https://github.com/jupyter/nbdime/issues/645 + cat > pytest.ini <<EOF +[pytest] +addopts = --ignore tests/test_nbdime_reporter.py +EOF } build() {
