aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-crypto/APKBUILD
blob: a1beecb8fda94ce4ab3aafd8189331ae7fbb4c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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"
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"