# Maintainer: Natanael Copa pkgname=py3-openssl _pkgname=pyOpenSSL pkgver=19.0.0 pkgrel=1 pkgdesc="Python3 wrapper module around the OpenSSL library" url="https://github.com/pyca/pyopenssl" arch="noarch" license="Apache-2.0" depends="python3 py3-cryptography py3-six" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # depends on flaky replaces="py-openssl" # Backwards compatibility provides="py-openssl=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a7e12bf5be725ccebd1223d567a9b9e8bd35f79cbf3a0409108fa6f00e10ab137dd6876369e9dede02b2abc7d700786cc905532ca5c31b6e246f6df8b24e2818 pyOpenSSL-19.0.0.tar.gz"