diff options
author | Guillaume Horel | 2022-05-24 14:43:30 -0400 |
---|---|---|
committer | Guillaume Horel | 2022-05-24 14:44:17 -0400 |
commit | ac2112bac6a2674e2faa134899754f824a3a7235 (patch) | |
tree | ce711d098037ed151b50e757333c80edf369fe0f | |
parent | 8fb51bb688f0b1e959afe7762e13bd18913178dc (diff) | |
download | aur-ac2112bac6a2674e2faa134899754f824a3a7235.tar.gz |
enable pytest tests
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -5,6 +5,8 @@ pkgbase = python-lineprofiler url = https://pypi.python.org/pypi/line_profiler arch = x86_64 license = BSD + checkdepends = python-pytest + checkdepends = python-ubelt makedepends = cython depends = python-setuptools depends = ipython @@ -12,6 +12,7 @@ arch=('x86_64') license=('BSD') depends=('python-setuptools' 'ipython') makedepends=('cython') +checkdepends=('python-pytest' 'python-ubelt') source=("$_pkgname-$pkgver.tar.gz::https://github.com/pyutils/line_profiler/archive/v$pkgver.tar.gz" "cython.patch") @@ -31,7 +32,7 @@ build() { check() { cd "$_pkgname-${pkgver}" python setup.py build_ext --inplace - python -m unittest discover -v tests + PYTHONPATH=. pytest tests } package() { |