diff options
-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() { |