aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-slowaes/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 12:53:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 14:21:35 +0000
commitdd3c7a041e76caa49799dfd810b52efcf04d93a0 (patch)
tree8b51df79bd82477f13b6d166eb4716d4ff64ff03 /community/py-slowaes/APKBUILD
parent6c07feacc0c6f8efc76653df24747ab66123646f (diff)
downloadaports-dd3c7a041e76caa49799dfd810b52efcf04d93a0.tar.bz2
aports-dd3c7a041e76caa49799dfd810b52efcf04d93a0.tar.xz
community/py-slowaes: moved from testing
Diffstat (limited to 'community/py-slowaes/APKBUILD')
-rw-r--r--community/py-slowaes/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/py-slowaes/APKBUILD b/community/py-slowaes/APKBUILD
new file mode 100644
index 0000000000..bdcbfbe655
--- /dev/null
+++ b/community/py-slowaes/APKBUILD
@@ -0,0 +1,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"