From 1964707349b7d1b6df470869e6f25513e616aea5 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 22:16:18 +0200 Subject: [PATCH] python-openssl: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-openssl/template | 21 +++++++++++++-------- srcpkgs/python3-openssl | 1 + 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-openssl diff --git a/srcpkgs/python-openssl/template b/srcpkgs/python-openssl/template index 1e27f05e56d..1212d95183b 100644 --- a/srcpkgs/python-openssl/template +++ b/srcpkgs/python-openssl/template @@ -1,12 +1,11 @@ # Template file for 'python-openssl' pkgname=python-openssl version=16.1.0 -revision=1 +revision=2 noarch=yes wrksrc="pyOpenSSL-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python-cryptography python-six" pycompile_module="OpenSSL" short_desc="Python2 interface to the OpenSSL library" @@ -16,13 +15,19 @@ license="Apache-2.0" distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz" checksum=88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f -python3.4-openssl_package() { +python3-openssl_package() { noarch=yes - depends="python3.4-cryptography python3.4-six" - pycompile_version="3.4" + depends="python3-cryptography python3-six" pycompile_module="OpenSSL" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-openssl>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-openssl_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-openssl>=${version}_${revision}" +} diff --git a/srcpkgs/python3-openssl b/srcpkgs/python3-openssl new file mode 120000 index 00000000000..e9a49d32e01 --- /dev/null +++ b/srcpkgs/python3-openssl @@ -0,0 +1 @@ +python-openssl \ No newline at end of file