OCaml 4.14.0 rebuild
[arch-packages.git] / python-pyopenssl / repos / extra-any / PKGBUILD
blob17e3cc1d878c8765247beed6ff8098b1867a3362
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
6 pkgver=22.0.0
7 pkgrel=1
8 arch=('any')
9 pkgdesc="Python3 wrapper module around the OpenSSL library"
10 url='https://github.com/pyca/pyopenssl'
11 license=('Apache')
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=('9e2aabdc4591662520320a22f75a3fa2d68576508f4c87a5a03ab1f14e02b099fbd054d72212ca6e780ee0146aae142365f7f79ec38557ceba0062ea72ee2178')
18 prepare() {
19   export LC_CTYPE=en_US.UTF-8
22 build() {
23   cd pyopenssl-$pkgver
24   python setup.py build
27 check() {
28   cd pyopenssl-$pkgver
29   PYTHONPATH="$PWD"/build/lib pytest
32 package() {
33   cd pyopenssl-$pkgver
34   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
37 # vim: ts=2 sw=2 et: