1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-cryptography
6 pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
9 url="https://pypi.python.org/pypi/cryptography"
10 depends=('python-cffi')
11 makedepends=('python-setuptools-rust')
12 checkdepends=('python-pytest-runner' 'python-pytest-subtests' "python-cryptography-vectors=$pkgver"
13 'python-iso8601' 'python-pretend' 'python-hypothesis' 'python-pytz'
14 'python-pytest-benchmark')
15 source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
16 sha512sums=('bac0268ca0b6a12adc2d2a1f4ec047aad0643afa021d43574f189187a6a6802bc79e9329afd77a950b158040c85137da4cdee1973f4bb89815ad2203fa969393')
19 cd cryptography-$pkgver
24 cd cryptography-$pkgver
25 python setup.py pytest
29 cd cryptography-$pkgver
30 python setup.py install --root="$pkgdir" --optimize=1 --skip-build