aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-crypto/APKBUILD
blob: 5a1a6c4a99502cfae1857e10fc47d547319593b5 (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="all"
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"