diff --git a/srcpkgs/python-paramiko/template b/srcpkgs/python-paramiko/template index 3a5b12db43e..6344314df37 100644 --- a/srcpkgs/python-paramiko/template +++ b/srcpkgs/python-paramiko/template @@ -1,17 +1,30 @@ # Template file for 'python-paramiko' pkgname=python-paramiko -version=1.12.0 -revision=2 -noarch="yes" +version=1.14.0 +revision=1 +noarch=yes wrksrc="${pkgname/python-/}-${version}" build_style=python-module -hostmakedepends="python-devel python-ecdsa python-crypto" -makedepends="${hostmakedepends}" -depends="${makedepends/python-devel/}" +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="Python module that implements the SSH2 protocol" +short_desc="Python2 module that implements the SSH2 protocol" maintainer="Juan RP " homepage="https://github.com/paramiko/paramiko" -license="MIT" -distfiles="http://pypi.python.org/packages/source/p/paramiko/paramiko-$version.tar.gz" -checksum=cc0c0549f611ccc1358a0e1c760e00074990adba723d4d647a2637a1fadbdd71 +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 + } +} diff --git a/srcpkgs/python3.4-paramiko b/srcpkgs/python3.4-paramiko new file mode 120000 index 00000000000..da80348ea4b --- /dev/null +++ b/srcpkgs/python3.4-paramiko @@ -0,0 +1 @@ +python-paramiko \ No newline at end of file