aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-slowaes/APKBUILD
blob: 5479dfa326ad9ccf06ac292306c01efd3d4ad404 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-slowaes
_pkgname=slowaes
pkgver=0.1a1
pkgrel=0
pkgdesc="Implementation of AES in Python"
url="http://code.google.com/p/slowaes/"
arch="noarch"
license="APACHE2.0"
depends=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

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

package() {
	cd "$builddir"
	python2 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"