aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-crypto/APKBUILD
blob: 43e325a099a42356417b4b9fe8f78b8c814e2a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-crypto
pkgver=2.0.1
pkgrel=3
pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
url="http://www.amk.ca/python/code/crypto.html"
arch="x86 x86_64"
license="GPL"
depends="python"
makedepends="gmp-dev python-dev"
source="http://www.amk.ca/files/python/crypto/pycrypto-$pkgver.tar.gz"

_builddir="$srcdir"/pycrypto-$pkgver
build ()
{
	cd "$_builddir"
	python setup.py build 
}

package() {
	cd "$_builddir"
	python setup.py install --root="$pkgdir"
}
md5sums="4d5674f3898a573691ffb335e8d749cd  pycrypto-2.0.1.tar.gz"