28 lines
872 B
Bash
28 lines
872 B
Bash
# Template file for 'python-paramiko'
|
|
pkgname=python-paramiko
|
|
version=2.0.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname/python-/}-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module="paramiko"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python-cryptography python-pyasn1"
|
|
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=261afe9246c2494e50bbeab55e50934348e91d1189803123459e0c81cda70fac
|
|
|
|
python3.4-paramiko_package() {
|
|
noarch=yes
|
|
pycompile_version="3.4"
|
|
pycompile_module="paramiko"
|
|
depends="python3.4-cryptography python3.4-pyasn1"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|