diff options
author | lilac | 2019-11-16 04:25:33 +0800 |
---|---|---|
committer | lilac | 2019-11-16 04:25:33 +0800 |
commit | ba7bd4da44f256f1b23fb1337209c68d30c8735e (patch) | |
tree | f81c98c42f2b3e1f97a2e7e85ff25acdaf7948dc | |
parent | f8e484bf0b03841b5d2dea48e4313cfd9fa4e103 (diff) | |
download | aur-ba7bd4da44f256f1b23fb1337209c68d30c8735e.tar.gz |
update by lilac
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-nbval pkgdesc = A py.test plugin to validate Jupyter notebooks pkgver = 0.9.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/computationalmodelling/nbval arch = any license = BSD @@ -3,7 +3,7 @@ pkgname=python-nbval _pkgname=nbval pkgver=0.9.3 -pkgrel=1 +pkgrel=2 pkgdesc='A py.test plugin to validate Jupyter notebooks' arch=(any) url='https://github.com/computationalmodelling/nbval' @@ -24,7 +24,8 @@ check() { cd $_pkgname-$pkgver # needed for the pytest plugin entry point python setup.py install --root="$srcdir"/tmp_install - PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.7/site-packages doit test + site_packages_path=$(python -c 'import site; print(site.getsitepackages()[0])') + PYTHONPATH="$srcdir"/tmp_install$site_packages_path doit test } package() { |