# Maintainer: Natanael Copa pkgname=py3-openssl _pkgname=pyOpenSSL pkgver=23.0.0 pkgrel=0 pkgdesc="Python3 wrapper module around the OpenSSL library" url="https://github.com/pyca/pyopenssl" arch="noarch" license="Apache-2.0" depends="python3 py3-cryptography" 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() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 68c42de58305461606d9fb932a7711775cfcf1a7c5dbe900b2c7ba18eab546d4c37fcd3dd82ab2c18b15eb07bef126534473b5b29f8af4f46e0147d45ac9e64b pyOpenSSL-23.0.0.tar.gz "