# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Contributor: zlg <zlg+adelie@zlg.space> # Maintainer: pkgname=py3-openssl _pkgname=pyOpenSSL _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=19.1.0 pkgrel=0 pkgdesc="Python wrapper module around the OpenSSL library" url="https://github.com/pyca/pyopenssl" arch="noarch" options="!check" # tries to include execinfo.h, uses network license="Apache-2.0" depends="python3 py3-cryptography py3-six" makedepends="python3-dev" subpackages="" source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4acd96f287d72eb11bd812697d28cd6eb6a96a4653248b65f967187830a6b17cc1254775a18a3405469f3d45abdae6f02d165f2f35f035f3174c2826fba82916 pyOpenSSL-19.1.0.tar.gz"