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

                                         

                        
          

                                                                       
                                           

                                                          
                                    
                                                 





                                                                                                          




                              


                                                               
                                                                                                                                                                      
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-cryptography
_pkgname=${pkgname#py3-}
pkgver=2.7
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() {
	python3 setup.py build
}

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

sha512sums="fa420f44b038b6fe1983c6f2c6d830e2668017c26e1e125ad621e37ea627a927ffe64d0e987e0a26dcc260834f2ec817cccd22da03b892190f46cb6e8131a5a8  cryptography-2.7.tar.gz"