void-packages/srcpkgs/python-paramiko/template

29 lines
859 B
Bash
Raw Normal View History

2013-12-28 17:15:12 +01:00
# Template file for 'python-paramiko'
pkgname=python-paramiko
2014-12-20 18:25:52 +01:00
version=1.15.2
revision=1
noarch=yes
2013-12-28 17:15:12 +01:00
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
python_versions="2.7 3.4"
2014-09-01 01:37:50 +02:00
hostmakedepends="python-setuptools python3.4-setuptools"
2014-09-19 10:17:10 +02:00
depends="python-crypto python-ecdsa"
pycompile_module="paramiko"
short_desc="Python2 module that implements the SSH2 protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-12-28 17:15:12 +01:00
homepage="https://github.com/paramiko/paramiko"
license="LGPL-2.1"
2014-09-19 10:17:10 +02:00
distfiles="${PYPI_SITE}/p/paramiko/paramiko-${version}.tar.gz"
2014-12-20 18:25:52 +01:00
checksum=4f56a671a3eecbb76e6143e6e4ca007d503a39aa79aa9e14ade667fa53fd6e55
python3.4-paramiko_package() {
noarch=yes
2014-09-19 10:17:10 +02:00
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
}
}