# Contributor: August Klein # Maintainer: August Klein pkgname=py3-cryptography _pkgname=cryptography pkgver=2.7 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="fa420f44b038b6fe1983c6f2c6d830e2668017c26e1e125ad621e37ea627a927ffe64d0e987e0a26dcc260834f2ec817cccd22da03b892190f46cb6e8131a5a8 cryptography-2.7.tar.gz"