void-packages/srcpkgs/python-paramiko/template
2014-07-12 23:51:03 +02:00

31 lines
984 B
Plaintext

# Template file for 'python-paramiko'
pkgname=python-paramiko
version=1.14.0
revision=1
noarch=yes
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends} 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=6e606b4623fad4bf02c1aa5ade4c480b4514be90dbf2e096c643e56d1ead63e9
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
}
}