blob: 295e500e592b442ad697a8547d1e812fc8201e36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-netmiko
_pkgname=netmiko
pkgver=4.2.0
pkgrel=1
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"
options="!check" # no textfsm package available
makedepends="py3-gpep517 py3-setuptools py3-wheel poetry"
checkdepends="py3-pytest py3-pyserial"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ktbyers/netmiko/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
4c90332944c171cb8e23c238ba62db750a78947a4f8b809894d5e74cc28200b8df71a090709ce6a6f609398d3c4c0c8a1a2140fa2a2179ea6d2778bd6120e591 py3-netmiko-4.2.0.tar.gz
"
|