mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-netmiko
|
|
_pkgname=netmiko
|
|
pkgver=4.3.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"
|
|
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="
|
|
e3f1ad4cee212687247687ac17e413f4f738a20eac34cfe0ca538ec3c8152d0dbc27441dd0fbb7325eb61cef56ab44ffeb2e4604475464758690b0909ee1d3b8 py3-netmiko-4.3.0.tar.gz
|
|
"
|