# Template file for 'python-cryptography' pkgname=python-cryptography version=3.3.2 revision=1 wrksrc="cryptography-${version}" build_style=python2-module hostmakedepends="python-setuptools libressl-devel python-enum34 python-ipaddress python-six python-cffi python-idna" makedepends="libressl-devel python-devel" depends="python-cffi python-six python-enum34 python-idna python-ipaddress" checkdepends="python-cryptography_vectors python-hypothesis python-pretend python-pytest python-pytz python-iso8601 ${depends}" short_desc="Python2 library that provides cryptographic recipes and primitives" maintainer="Alessio Sergi " license="BSD-3-Clause, Apache-2.0" homepage="https://github.com/pyca/cryptography" changelog="https://raw.githubusercontent.com/pyca/cryptography/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/c/cryptography/cryptography-${version}.tar.gz" checksum=5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed do_check() { PYTHONPATH="$(cd build/lib* && pwd)" python2.7 -m pytest tests } post_install() { vlicense LICENSE vlicense LICENSE.BSD }