# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-netmiko _pkgname=netmiko pkgver=2.4.2 pkgrel=0 pkgdesc="Multi-vendor library to simplify Paramiko SSH connections to network devices" url="https://github.com/ktbyers/netmiko" arch="noarch" license="MIT" depends="openssh-client py3-yaml py3-paramiko py3-scp python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/ktbyers/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-netmiko" # Backwawrds compatibility provides="py-netmiko=$pkgver-r$pkgrel" # Backwards compatibility check() { python3 setup.py check } build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="405e713620b9f91097ecd854ddd528352c211a7ddb1f94b690285ccad9a1dd1dfefd6d7e74d94cbfe9648cae0a9cdef53248f4471d497d76f56cebf8852ba051 py3-netmiko-2.4.2.tar.gz"