diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:16:31 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:28 -0800 |
commit | 4bf0cc4d31e4a67a061e726ed6d54cbfcbc23e8d (patch) | |
tree | 8627bb151d5c315b63595e5dee4593e2a328066f /user | |
parent | c5e77c17477cef73e709abbf92a4ca788088fe11 (diff) | |
download | packages-4bf0cc4d31e4a67a061e726ed6d54cbfcbc23e8d.tar.gz packages-4bf0cc4d31e4a67a061e726ed6d54cbfcbc23e8d.tar.bz2 packages-4bf0cc4d31e4a67a061e726ed6d54cbfcbc23e8d.tar.xz packages-4bf0cc4d31e4a67a061e726ed6d54cbfcbc23e8d.zip |
user/py3-openssl: new package
Diffstat (limited to 'user')
-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" |