void-packages/srcpkgs/python-paramiko/template
2015-11-06 07:08:35 +01:00

28 lines
859 B
Bash

# Template file for 'python-paramiko'
pkgname=python-paramiko
version=1.16.0
revision=1
noarch=yes
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-crypto python-ecdsa"
pycompile_module="paramiko"
short_desc="Python2 module that implements the SSH2 protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/paramiko/paramiko"
license="LGPL-2.1"
distfiles="${PYPI_SITE}/p/paramiko/paramiko-${version}.tar.gz"
checksum=3297ebd3cd072f573772f7c7426939a443c62c458d54bb632ff30fd6ecf96892
python3.4-paramiko_package() {
noarch=yes
depends="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
}
}