diff options
Diffstat (limited to 'user/py3-openssl')
-rw-r--r-- | user/py3-openssl/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-openssl/APKBUILD b/user/py3-openssl/APKBUILD new file mode 100644 index 000000000..e86044191 --- /dev/null +++ b/user/py3-openssl/APKBUILD @@ -0,0 +1,29 @@ +# 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" |