summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:55:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:55:33 +0000
commit28ae1fabf97d0db094631d7ac21969fe1fd10a50 (patch)
treea4ac32549a7308f9427e3327803680cd8ef3e8c9
parentbc35fdf59e2f761bd52feedf89e5ef32ad3424ff (diff)
downloadpackages-28ae1fabf97d0db094631d7ac21969fe1fd10a50.tar.gz
packages-28ae1fabf97d0db094631d7ac21969fe1fd10a50.tar.bz2
packages-28ae1fabf97d0db094631d7ac21969fe1fd10a50.tar.xz
packages-28ae1fabf97d0db094631d7ac21969fe1fd10a50.zip
user/py3-paramiko: New package
-rw-r--r--user/py3-paramiko/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-paramiko/APKBUILD b/user/py3-paramiko/APKBUILD
new file mode 100644
index 000000000..45134063b
--- /dev/null
+++ b/user/py3-paramiko/APKBUILD
@@ -0,0 +1,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"
+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"