# Contributor: Leonardo Arena # Maintainer: pkgname=py3-ncclient _pkgname=ncclient pkgver=0.6.6 pkgrel=0 pkgdesc="Library for NETCONF clients" url="https://github.com/ncclient/ncclient" arch="noarch" license="Apache-2.0" depends="py3-lxml py3-paramiko py3-setuptools py3-six" checkdepends="py3-mock py3-nose" source="$_pkgname-$pkgver.tar.gz::https://github.com/ncclient/ncclient/archive/v$pkgver.tar.gz" builddir="$srcdir"/ncclient-$pkgver replaces="py-ncclient" # Backwards compatibility provides="py-ncclient=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { nosetests } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="6f01b4f4754803a41997b9e1e363488885a4d827b08016bf1bcf0ffe43573f3e83a5a7ee769509272901d0597daeb37e11d5a176b2e3961dd441129fe128b7d6 ncclient-0.6.6.tar.gz"