diff --git a/srcpkgs/python-paramiko/template b/srcpkgs/python-paramiko/template index 1a2988be69b..3068773478a 100644 --- a/srcpkgs/python-paramiko/template +++ b/srcpkgs/python-paramiko/template @@ -1,13 +1,12 @@ # Template file for 'python-paramiko' pkgname=python-paramiko version=2.0.2 -revision=1 +revision=2 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" +hostmakedepends="python-setuptools python3-setuptools" depends="python-cryptography python-pyasn1" short_desc="Python2 module that implements the SSH2 protocol" maintainer="Juan RP " @@ -16,13 +15,19 @@ license="LGPL-2.1" distfiles="${PYPI_SITE}/p/paramiko/paramiko-${version}.tar.gz" checksum=411bf90fa22b078a923ff19ef9772c1115a0953702db93549a2848acefd141dc -python3.4-paramiko_package() { +python3-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}" + replaces="python3.4-paramiko>=0" + depends="python3-cryptography python3-pyasn1" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-paramiko_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-paramiko>=${version}_${revision}" +} diff --git a/srcpkgs/python3-paramiko b/srcpkgs/python3-paramiko new file mode 120000 index 00000000000..da80348ea4b --- /dev/null +++ b/srcpkgs/python3-paramiko @@ -0,0 +1 @@ +python-paramiko \ No newline at end of file