aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-netmiko/APKBUILD
blob: 390f08735b99ef47ff89d782323ece4a427ab79e (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-netmiko
_pkgname=netmiko
pkgver=2.3.3
pkgrel=2
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="24f21a07b82f5ccc85e4ea0b48267d5bac099b7f3ce000576a256937769bbd8693b74a1b60c6cec33d6a5ebe0a363c7177094ae7769c5b682ff681abf4f24a39  py3-netmiko-2.3.3.tar.gz"