aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pycrypto/APKBUILD
blob: f5a48e75c3f55b83326d519ce8a67b4983998ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pycrypto
pkgver=2.0.1
pkgrel=2
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="gmp5-dev python-dev"
source="http://www.amk.ca/files/python/crypto/$pkgname-$pkgver.tar.gz"

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

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