void-packages/srcpkgs/python-paramiko/template

25 lines
795 B
Bash

# Template file for 'python-paramiko'
pkgname=python-paramiko
version=2.7.1
revision=1
archs=noarch
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-cryptography python-pyasn1 python-bcrypt python-pynacl"
short_desc="Python2 SSH2 protocol library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://www.paramiko.org/"
distfiles="${PYPI_SITE}/p/paramiko/paramiko-${version}.tar.gz"
checksum=920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f
python3-paramiko_package() {
archs=noarch
depends="python3-cryptography python3-pyasn1 python3-bcrypt python3-pynacl"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}