1 # Maintainer : Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 pkgname=python-pyopenssl
9 pkgdesc="Python3 wrapper module around the OpenSSL library"
10 url='https://github.com/pyca/pyopenssl'
12 depends=('python-cryptography')
13 makedepends=('python-setuptools')
14 checkdepends=('python-pytest' 'python-pretend' 'python-flaky')
15 source=(https://github.com/pyca/pyopenssl/archive/$pkgver/$pkgname-$pkgver.tar.gz)
16 sha512sums=('38350f2db0b93f2f501cf1c185bebdeb5cf6313eede492ed4dcd8750f22218c8b669b398728de8d62481c2f87055b4138949cfd3f7f6cf4002d1ba5860b1330d')
19 export LC_CTYPE=en_US.UTF-8
29 PYTHONPATH="$PWD"/build/lib pytest
34 python setup.py install --root="$pkgdir" --optimize=1 --skip-build