# Contributor: August Klein # Maintainer: August Klein pkgname=py3-cryptography _pkgname=cryptography pkgver=2.8 pkgrel=1 pkgdesc="A package which provides cryptographic recipes and primitives" url="https://pypi.python.org/pypi/cryptography" arch="all" license="Apache-2.0 OR BSD-3-Clause" depends="python3 py3-cffi py3-idna py3-asn1crypto py3-six" makedepends="python3-dev py3-setuptools libffi-dev openssl-dev" source=" https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz " builddir="$srcdir/$_pkgname-$pkgver" replaces="py-cryptography" # Backwards compatibility provides="py-cryptography=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py check } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="bf3ca44123c693b0602be19445925f9efebd46c469909e47b7907d57141fb6bd99268c33e1fe3f42a08ab8b4edd4f98f21b6a682f530352313334dfd31ba91e7 cryptography-2.8.tar.gz"