diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-24 08:35:56 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-24 08:35:56 +0000 |
commit | ff223cf53a2b9f04d585bdb2e2db3a1259c8f9c5 (patch) | |
tree | a2465829815eff193bb9ac11cb63e1f3c64da2dd /testing/py-slowaes/APKBUILD | |
parent | d09e4350e630d5a484b32dc3e26f8553497c35ea (diff) | |
download | aports-ff223cf53a2b9f04d585bdb2e2db3a1259c8f9c5.tar.bz2 aports-ff223cf53a2b9f04d585bdb2e2db3a1259c8f9c5.tar.xz |
testing/py-slowaes: new aport
Diffstat (limited to 'testing/py-slowaes/APKBUILD')
-rw-r--r-- | testing/py-slowaes/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py-slowaes/APKBUILD b/testing/py-slowaes/APKBUILD new file mode 100644 index 0000000000..d2eaf4f358 --- /dev/null +++ b/testing/py-slowaes/APKBUILD @@ -0,0 +1,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" |