# Template file for 'python-openssl' pkgname=python-openssl version=19.0.0 revision=1 archs=noarch wrksrc="pyOpenSSL-${version}" build_style=python-module pycompile_module="OpenSSL" hostmakedepends="python-setuptools python3-setuptools" depends="python-cryptography python-six" short_desc="Python2 interface to the OpenSSL library" maintainer="Alessio Sergi " license="Apache-2.0" homepage="https://pyopenssl.org/" distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz" checksum=aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200 python3-openssl_package() { archs=noarch depends="python3-cryptography python3-six" pycompile_module="OpenSSL" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* } }