aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-cryptography/APKBUILD
blob: 80096ee6364c228ea2b3a170c8d3923831f33d32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=py-cryptography
_pkgname=${pkgname#py-}
pkgver=1.3.2
pkgrel=0
pkgdesc="A package which provides cryptographic recipes and primitives"
url="http://pypi.python.org/pypi/cryptography"
arch="all"
license="ASL-2.0"
depends=""
makedepends="python-dev py-setuptools libffi-dev openssl-dev"
source="https://pypi.io/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="0359190f291824dc8ad9e6d477a607b2  cryptography-1.3.2.tar.gz"
sha256sums="fbaafa8827966dc588ccb00be813d3149fa8de04aec96e418ea0fdd5f0312088  cryptography-1.3.2.tar.gz"
sha512sums="6d63d65c6584167192030e471c007d0cdc3b9ac79763d961578de454ef754e9d9387ba7984b88b6dd9ff44eaa94890bf53b33cc5ff1f0b202006a699f4d47baa  cryptography-1.3.2.tar.gz"