# Template file for 'python-openssl' pkgname=python-openssl version=0.11 revision=7 wrksrc="pyOpenSSL-${version}" replaces="pyopenssl>=0" build_style=python-module python_versions="2.7 3.4" pycompile_module="OpenSSL" hostmakedepends="python-setuptools python3.4-setuptools" makedepends="libressl-devel python-devel python3.4-devel" short_desc="Python2 interface to the OpenSSL library" maintainer="Juan RP " homepage="https://launchpad.net/pyopenssl" license="Apache-2.0" distfiles="http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-${version}.tar.gz" checksum=42ae2dc29a5ebf5088521cb8df2b1bdf039d28e14845fd9df4ab59658b565cfd python3.4-openssl_package() { pycompile_version="3.4" pycompile_module="OpenSSL" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove /usr/lib/python3.4 } }