summaryrefslogtreecommitdiff
path: root/user/py3-paramiko/APKBUILD
blob: 83fcf8cbd6b19519e1839f5ac5b6f576c8769011 (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
32
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-paramiko
_pkgname=paramiko
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.7.1
pkgrel=0
pkgdesc="Python implementation of the SSHv2 protocol"
url="https://www.paramiko.org/"
arch="noarch"
license="LGPL-2.1+"
depends="python3 py3-cryptography py3-bcrypt py3-pynacl"
checkdepends="py3-mock py3-pytest py3-invoke py3-pytest-relaxed py3-iniconfig py3-toml"
makedepends=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/paramiko-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest -k "not TestMatch and not TestHostname and not TestComplexMatching and not TestSSHConfig"
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="80068c8f72ab8c98d84188caa074deecead9fb459b1a71cedb3cfa627736730928a2b9c6eb2b5a8b60acb9bccb0f68aefbef9d0d55554001c835b5cf897751ab  paramiko-2.7.1.tar.gz"