diff options
Diffstat (limited to 'user/py3-cryptography')
-rw-r--r-- | user/py3-cryptography/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-cryptography/APKBUILD b/user/py3-cryptography/APKBUILD new file mode 100644 index 000000000..0c42cdc67 --- /dev/null +++ b/user/py3-cryptography/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: August Klein <amatcoder@gmail.com> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-cryptography +_pkgname=${pkgname#py3-} +pkgver=2.4.2 +pkgrel=0 +pkgdesc="A package which provides cryptographic recipes and primitives" +url="https://pypi.python.org/pypi/cryptography" +arch="all" +options="!check" # tests want hypothesis; deep rabbit hole +license="Apache-2.0 OR BSD-3-Clause" +depends="python3 py3-cffi py3-idna py3-asn1crypto py3-six" +makedepends="python3-dev libffi-dev openssl-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="800735fa86e9ad0f8517328d47e55dc79a2b86d8c7539ee2921c526085782d8dad5559bbee84f7effb42275503fa9a984b099a688c530c92f5672c423c0f1a28 cryptography-2.4.2.tar.gz" |