Gabriel Ebner
f1e391fa93
subrepo: subdir: "python-spake2" merged: "ab4f715" upstream: origin: "https://aur.archlinux.org/python-spake2" branch: "master" commit: "ab4f715" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
26 lines
799 B
Bash
26 lines
799 B
Bash
# maintainer Storm Dragon <stormdragon2976@gmail.com>
|
|
|
|
pkgname='python-spake2'
|
|
pkgver=0.8
|
|
pkgrel=5
|
|
pkgdesc="This library implements the SPAKE2 password-authenticated key exchange"
|
|
arch=('any')
|
|
url="https://pypi.python.org/packages/10/7d/spake2-${pkgver}"
|
|
license=('MIT')
|
|
depends=('python' 'python-hkdf')
|
|
makedepends=('python-setuptools')
|
|
source=("https://files.pythonhosted.org/packages/source/s/spake2/spake2-${pkgver}.tar.gz")
|
|
md5sums=('0155bad518bb49c39994fe0b7d9fb32c')
|
|
|
|
build() {
|
|
cd "$srcdir"/spake2-${pkgver}
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/spake2-$pkgver"
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|