void-packages/srcpkgs/python-paramiko/template

27 lines
852 B
Bash

# Template file for 'python-paramiko'
pkgname=python-paramiko
version=2.4.3
revision=1
archs=noarch
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
pycompile_module="paramiko"
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>"
homepage="http://www.paramiko.org/"
license="LGPL-2.1-or-later"
distfiles="${PYPI_SITE}/p/paramiko/paramiko-${version}.tar.gz"
checksum=c6de454b3be8d35100d95d62b8073e429ed35326d574649f173c0acf7d72b2eb
python3-paramiko_package() {
archs=noarch
pycompile_module="paramiko"
depends="python3-cryptography python3-pyasn1 python3-bcrypt python3-pynacl"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}