mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02: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.5.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="
|
|
7a81fc96d6987667ecf976af2ce444a275e8411efc13676ef68cb0345ef3dc8377a2bf5d8e788e171fef00ee39965d9b2e128ef3d7cbbbf6919ec784bad5d65b py3-netmiko-4.5.0.tar.gz
|
|
"
|