void-packages/srcpkgs/python-paramiko/template

30 lines
974 B
Plaintext

# Template file for 'python-paramiko'
pkgname=python-paramiko
version=1.14.1
revision=1
noarch=yes
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-crypto python3.4-crypto python-ecdsa python3.4-ecdsa"
depends="python python-crypto python-ecdsa"
pycompile_module="paramiko"
short_desc="Python2 module that implements the SSH2 protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/paramiko/paramiko"
license="LGPL-2.1"
distfiles="https://pypi.python.org/packages/source/p/paramiko/paramiko-${version}.tar.gz"
checksum=02ef14cf8d116d71f44e84334b1cd5431e247501a9dbbbba4308786ac8b8aed0
python3.4-paramiko_package() {
noarch=yes
depends="python3.4 python3.4-crypto python3.4-ecdsa"
pycompile_version="3.4"
pycompile_module="paramiko"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}