diff options
author | Michael Borders | 2019-11-26 14:43:42 -0500 |
---|---|---|
committer | Michael Borders | 2019-11-26 14:43:42 -0500 |
commit | e7bd12779534b84d3539526cab3c1a309cc3acab (patch) | |
tree | 20e0aaf21af2a828889c0d5e762e9b7c746beea4 | |
parent | e7a2f22fdd5ce2ce8957107682b5f856b4397990 (diff) | |
download | aur-e7bd12779534b84d3539526cab3c1a309cc3acab.tar.gz |
Added check() function
At the moment two depdencies for testing are not python3.8 compatible,
so package checking is disabled.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -11,9 +11,16 @@ url="https://github.com/ktbyers/netmiko" license=('MIT') depends=('python' 'python-paramiko' 'python-scp' 'python-pyserial' 'python-textfsm') makedepends=('python-setuptools') +#checkdepends=('python-tox') source=("${url}/archive/${_pkgver}.tar.gz") sha256sums=('02f6d1eafa5588ae89a7ba01f9a0c65089aded8cfedef7bd8d61a1255bf2b4f7') +# Tests fail on python3.8 as two testing depends are not compatible yet. +#check() { +# cd "$srcdir/$_pkgname-$pkgver" +# tox test -e py +#} + package(){ cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 |