mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
34 lines
990 B
Plaintext
34 lines
990 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-netmiko
|
|
_pkgname=netmiko
|
|
pkgver=4.0.0
|
|
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="
|
|
61c131e584e552e339b20760fa041190b0345a243c16cdf5ec99b2a3f933a80ebdcefe3492dd611c0e4e6cc0bdb22146b14be1bb3477e0494d481b582912d375 py3-netmiko-4.0.0.tar.gz
|
|
"
|