aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-slowaes/APKBUILD
blob: d2eaf4f35859dfffea4db88b82363cf89a00da3a (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
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-slowaes
pkgver=0.1a1
_id="c7dcbe89ec22a6985790bc0effb12bb8caef494fbac3c2bab86ae51a53ef"
pkgrel=0
pkgdesc="Implementation of AES in Python"
url="http://code.google.com/p/slowaes/"
arch="noarch"
license="APACHE2.0"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools" 
install=""
subpackages=""
source="https://pypi.python.org/packages/79/a4/$_id/${pkgname/py-/}-$pkgver.tar.gz"

builddir="$srcdir"/${pkgname/py-/}-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

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

md5sums="eafee95a788a795403e972a35e80ce4f  slowaes-0.1a1.tar.gz"
sha256sums="83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09  slowaes-0.1a1.tar.gz"
sha512sums="09126a6cf2a0da27c45b12d25c3a9147f47448311f9e36b6db2aa62d8b85f3fdf66f10f8f5d84edf48cde7f6c766d9ed384832f9ca0e28f95104149a7f424d95  slowaes-0.1a1.tar.gz"