summaryrefslogblamecommitdiff
path: root/user/py3-openssl/APKBUILD
blob: e860441914cae15c12b22ba04acc86c7faeb518d (plain) (tree)




























                                                                                                                                                                      
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-openssl
_pkgname=pyOpenSSL
pkgver=18.0.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="py3-cryptography py3-six"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7106d4116243a164c1f458ad495564c2cf3a46b4b0fbb1d452b4174ead4409bc9c783c3a4674231ed3c26ecf588077b01dadbdefe033d5e7251a61531c6f6c15  pyOpenSSL-18.0.0.tar.gz"