diff options
author | Jonne Haß | 2019-09-24 19:55:35 +0200 |
---|---|---|
committer | Jonne Haß | 2019-09-24 19:55:35 +0200 |
commit | a50080289a888dc0559db60ad1b40119657459b5 (patch) | |
tree | 94a01bfb34f8b2a0c9849cc03bb7142c1f5665b3 | |
download | aur-a50080289a888dc0559db60ad1b40119657459b5.tar.gz |
python2-argon2: add
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c60bb3c7b63f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-argon2 + pkgdesc = Bindings for the argon2 password hasher + pkgver = 0.1.10 + pkgrel = 1 + url = https://github.com/flamewow/argon2_py + arch = any + license = unknown + makedepends = python2-setuptools + depends = python2 + source = https://files.pythonhosted.org/packages/source/a/argon2/argon2-0.1.10.tar.gz + sha256sums = 523a3d3b88f3a46244b4976a6ca81994705848538bbe9e41426ea54ccb75eb90 + +pkgname = python2-argon2 + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4927911c923d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +pkgbase='python2-argon2' +pkgname=('python2-argon2') +_module='argon2' +pkgver='0.1.10' +pkgrel=1 +pkgdesc="Bindings for the argon2 password hasher" +url="https://github.com/flamewow/argon2_py" +depends=('python2') +makedepends=('python2-setuptools') +license=('unknown') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('523a3d3b88f3a46244b4976a6ca81994705848538bbe9e41426ea54ccb75eb90') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python2 setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${_module}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |