summaryrefslogblamecommitdiff
path: root/user/py3-cryptography/APKBUILD
blob: 587199c0e5bc5d72a3cc335810aa8c2a262ddb59 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                 
          

                                                                       
                                           

                                                          
                                    
                                                 















                                                                                                          
                                                                                                                                                                      
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-cryptography
_pkgname=${pkgname#py3-}
pkgver=2.5
pkgrel=0
pkgdesc="A package which provides cryptographic recipes and primitives"
url="https://pypi.org/project/cryptography"
arch="all"
options="!check" # tests want hypothesis; deep rabbit hole
license="Apache-2.0 OR BSD-3-Clause"
depends="python3 py3-cffi 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="5e8f8818fcaa8143526006b027107b8afbdc925d40c846701e65b2c7ee02235b7e0918246515520ef2030b1c87bb157d0d403c28ad68c31459d677af7e2d0b3f  cryptography-2.5.tar.gz"