blob: 3e14aa10ed103f3d2f44759e54b9d0d5552528da (
plain)
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
|
# Maintainer: kpcyrd <git@rxv.cc>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Samuel Tardieu <sam@rfc1149.net>
pkgname=python2-slowaes
pkgver=0.1a1
pkgrel=3
pkgdesc="Implementation of AES in Python"
arch=('any')
url="https://code.google.com/archive/p/slowaes/"
license=('Apache')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/s/slowaes/slowaes-$pkgver.tar.gz")
md5sums=('eafee95a788a795403e972a35e80ce4f')
sha256sums=('83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09')
prepare() {
cd "$srcdir/slowaes-$pkgver"
sed -i 's#/usr/bin/python#/usr/bin/python2#' aes.py
}
package() {
cd "$srcdir/slowaes-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|